/* ===== Search Page Styles ===== */
.search-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.search-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-description {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===== Search Section ===== */
.search-section {
    max-width: 800px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
}

.search-container {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-form {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ===== Search Input ===== */
.search-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-label {
    font-size: 0.9375rem;
    color: #cbd5e1;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.5;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.search-input::placeholder {
    color: #94a3b8;
    opacity: 0.7;
}

.search-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hint-item {
    font-size: 0.8125rem;
    color: #94a3b8;
    padding: 0.25rem 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* ===== Search Filters ===== */
.search-filters {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-size: 0.9375rem;
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.filter-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: rgba(15, 23, 42, 0.9);
}

.filter-select option {
    background: #1e293b;
    color: #f1f5f9;
    padding: 0.75rem;
}

.filter-select option:disabled {
    color: #94a3b8;
    font-style: italic;
}

/* ===== Search Button ===== */
.search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.search-button-icon {
    font-size: 1.25rem;
}

/* ===== Search Results ===== */
.search-results-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.results-count {
    font-size: 0.9375rem;
    color: #94a3b8;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* ===== No Results ===== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 14px;
    margin: 2rem 0;
}

.no-results-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-results-title {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-results-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-tips {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.tips-title {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.tips-list li {
    color: #94a3b8;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    line-height: 1.5;
}

/* ===== Search Info ===== */
.search-info-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.info-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}

.info-title {
    font-size: 1.5rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.info-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.info-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 400;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .search-hero {
        padding: 2rem 1rem;
    }
    
    .search-container {
        padding: 1.5rem;
    }
    
    .search-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .search-hints {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .no-results {
        padding: 3rem 1rem;
    }
    
    .search-tips {
        padding: 1.25rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .info-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .search-section {
        padding: 0 1rem;
    }
    
    .search-container {
        padding: 1.25rem;
    }
    
    .search-input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .search-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .no-results {
        padding: 2rem 1rem;
    }
    
    .no-results-icon {
        font-size: 2.5rem;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
    }
    
    .info-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .search-section {
        break-inside: avoid;
    }
    
    .search-container {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
    }
    
    .search-input,
    .filter-select {
        background: white !important;
        border: 1px solid #cbd5e1 !important;
        color: #1e293b !important;
    }
    
    .search-button {
        background: #3b82f6 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}