/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 40px;
}

.search-modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #4CAF50;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.search-modal-close:hover {
    color: white;
    transform: scale(1.2);
}

.search-form {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.search-form .input-wrapper {
    position: relative;
    width: 100%;
}

.search-form input {
    width: 100%;
    padding: 20px 60px 20px 30px; 
    font-size: 1.5rem;
    border: none;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.search-form input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

.search-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    pointer-events: none;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-modal.active .search-modal-content {
    animation: fadeIn 0.3s ease forwards;
}