.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 22, 24, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.close-search {
    position: absolute;
    top: -30px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: #ccc;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-overlay-input {
    flex: 1;
    border: none;
    padding: 20px 30px;
    font-size: 18px;
    outline: none;
    background: transparent;
}

.search-overlay-input::placeholder {
    color: #999;
}

.search-overlay-btn {
    background: #c4d930;
    border: none;
    padding: 20px 30px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-overlay-btn:hover {
    background: #0056b3;
}

.search-overlay-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .search-overlay-content {
        width: 95%;
    }

    .search-overlay-input {
        padding: 15px 20px;
        font-size: 16px;
    }

    .search-overlay-btn {
        padding: 15px 20px;
    }

    .close-search {
        font-size: 30px;
        top: -40px;
    }
}
