.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.search-overlay.active {
    display: block;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-overlay-close:hover {
    color: #252a69;
    transform: rotate(90deg);
}

.search-form-container {
    max-width: 800px;
    margin: 100px auto 0;
    padding: 0 20px;
}

.search-form {
    position: relative;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    height: 70px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    padding: 0 50px 0 0;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-bottom-color: #252a69;
}

.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    color: #252a69;
}

.search-results {
    color: #fff;
}

.search-results-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.search-results-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-bottom-color: #252a69;
}

.search-result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.search-result-link {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-result-link:hover {
    color: #252a69;
}

.search-result-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-result-link:hover .search-result-icon {
    background-color: #252a69;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.search-result-type {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.search-no-results {
    text-align: center;
    padding: 50px 0;
}

.search-no-results-icon {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.search-no-results-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.search-loading {
    text-align: center;
    padding: 50px 0;
    display: none;
}

.search-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #252a69;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-loading-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.search-category {
    margin-bottom: 30px;
}

.search-category-title {
    font-size: 16px;
    color: #252a69;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 767px) {
    .search-form-container {
        margin-top: 80px;
    }
    
    .search-input {
        height: 60px;
        font-size: 20px;
    }
    
    .search-overlay-close {
        top: 20px;
        right: 20px;
        font-size: 24px;
    }
} 