﻿.search-overlay {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}



.close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    margin-bottom: 1.25rem;
    transition: background 0.15s;
}

    .close-btn:hover {
        background: #f0f0f0;
    }

.search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1.75rem;
}

.search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    right: 14px;
    color: #aaa;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 44px 0 14px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    background: #fff;
    color: #222;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    text-align: right;
}

    .search-input::placeholder {
        color: #aaa;
    }

    .search-input:focus {
        border-color: #1a7a4a;
        box-shadow: 0 0 0 3px rgba(26,122,74,0.12);
    }

.search-btn {
    height: 44px;
    padding: 0 24px;
    background: #1a7a4a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

    .search-btn:hover {
        background: #155f3a;
    }

    .search-btn:active {
        transform: scale(0.98);
    }

.suggestions-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    color: #166A45;
    background-color: #F3FCF6;
    border: 1px solid #F3FCF6;
    padding: 4px;
}

    .chip:hover {
        background: #e8f5ee;
    }

    .chip .plus {
        font-size: 16px;
        font-weight: 400;
    }

.results-area {
    margin-top: 1.5rem;
    display: none;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.1s;
    border-radius: 6px;
}

    .result-item:hover {
        background: #f9fdf9;
    }

.result-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a7a4a;
}

.result-text {
    flex: 1;
}

.result-title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    margin-bottom: 2px;
}

.result-sub {
    font-size: 12px;
    color: #888;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #aaa;
    font-size: 14px;
}
