/**
 * lonely.fyi - VeriBits Dark Theme
 * Professional blue gradient with dark mode
 */

/* ==================== CSS Variables - Midnight Luxe Theme ==================== */
:root {
    /* Primary Colors - Medium Dark Purple */
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary-color: #A78BFA;
    --accent-color: #C4B5FD;

    /* Status Colors */
    --success-color: #66bb6a;
    --warning-color: #ffa726;
    --danger-color: #ef5350;
    --error-color: #ef5350;
    --info-color: #A78BFA;

    /* Backgrounds - Midnight Purple & Gray */
    --dark-bg: #1F1B2E;
    --darker-bg: #16131F;
    --light-bg: #f5f7fa;
    --card-bg: rgba(139, 92, 246, 0.12);
    --card-hover-bg: rgba(139, 92, 246, 0.18);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-light: rgba(255, 255, 255, 0.65);
    --text-dark: #1a1a2e;

    /* UI Elements */
    --border-color: rgba(255, 255, 255, 0.18);
    --border-hover: rgba(255, 255, 255, 0.35);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #2D2438 0%, #3D2E52 50%, #4B3F6B 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(167, 139, 250, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.hidden {
    display: none !important;
}

/* ==================== Auth Screen ==================== */
#auth-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-container {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-container h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 50%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 3px 15px rgba(139, 92, 246, 0.5);
}

.auth-container .tagline {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.lonely-tagline {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lonely-tagline em {
    font-size: 1.05rem;
    color: var(--accent-color);
    font-style: italic;
    text-shadow: 0 2px 8px rgba(255, 167, 38, 0.3);
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.form-container h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-container input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-container input::placeholder {
    color: var(--text-light);
}

.form-container input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-container button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: var(--text-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.form-container button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-container button:hover::before {
    left: 100%;
}

.form-container button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.form-container button:active {
    transform: translateY(-1px);
}

.form-container p {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.form-container a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-container a:hover {
    color: #DDD6FE;
    text-decoration: underline;
}

.anonymous-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.anonymous-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.anonymous-btn span {
    position: relative;
    z-index: 1;
}

.anonymous-btn:hover::before {
    width: 400px;
    height: 400px;
}

.anonymous-btn:hover {
    color: var(--dark-bg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

/* ==================== App Screen ==================== */
.top-nav {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav h2 {
    color: var(--text-primary);
    margin: 0;
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-right button {
    padding: 0.6rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.nav-right button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.upgrade-btn {
    background: var(--accent-color) !important;
    color: var(--dark-bg) !important;
    border: none !important;
}

.upgrade-btn:hover {
    background: #DDD6FE !important;
    transform: translateY(-2px);
}

.balance-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* ==================== Side Navigation ==================== */
.side-nav {
    position: fixed;
    left: 0;
    top: 70px;
    width: 250px;
    height: calc(100vh - 70px);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 0;
    overflow-y: auto;
}

.nav-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.nav-btn span {
    font-size: 1.3rem;
}

.nav-btn:hover,
.nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

/* ==================== Main Content ==================== */
.main-content {
    margin-left: 250px;
    padding: 2rem;
    min-height: calc(100vh - 70px);
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* ==================== Buttons ==================== */
button, .btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

button::after, .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

button:hover::after, .btn:hover::after {
    width: 200px;
    height: 200px;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

button:active, .btn:active {
    transform: translateY(0);
}

button:disabled, .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

button:disabled::after, .btn:disabled::after {
    display: none;
}

.danger-btn {
    background: linear-gradient(135deg, var(--danger-color), #dc2626) !important;
}

.danger-btn:hover {
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4) !important;
}

/* ==================== Profile Cards ==================== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: transparent;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    background: var(--card-hover-bg);
}

/* ==================== Modals ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--accent-color);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .side-nav {
        width: 100%;
        height: auto;
        bottom: 0;
        top: auto;
        display: flex;
        flex-direction: row;
        padding: 0.5rem;
        border-right: none;
        border-top: 1px solid var(--border-color);
    }

    .nav-btn {
        flex: 1;
        padding: 0.8rem;
        justify-content: center;
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.75rem;
    }

    .nav-btn span {
        font-size: 1.5rem;
    }

    .main-content {
        margin-left: 0;
        margin-bottom: 70px;
        padding: 1rem;
    }

    .auth-container {
        padding: 2rem 1.5rem;
    }

    .auth-footer,
    .app-footer {
        font-size: 0.85rem;
    }
}

/* ==================== Footer ==================== */
.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.auth-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: #DDD6FE;
    text-decoration: underline;
}

.app-footer {
    position: fixed;
    bottom: 0;
    left: 250px;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
    text-align: center;
    z-index: 900;
}

.app-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.app-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.app-footer a:hover {
    color: #DDD6FE;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .app-footer {
        left: 0;
        bottom: 70px;
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}

/* ==================== About Page ==================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.about-section {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.about-section:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.about-section h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.about-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.about-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.about-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.about-footer p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.about-footer strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.about-footer em {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.about-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.about-footer a:hover {
    color: #DDD6FE;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-content {
        padding: 0.5rem;
    }

    .about-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-section h3 {
        font-size: 1.3rem;
    }

    .about-section p,
    .about-section li {
        font-size: 0.95rem;
    }
}

/* ============================================
   DOCS & CLI DOCUMENTATION STYLES
   ============================================ */

.docs-content,
.cli-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.docs-section,
.cli-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.docs-section h3,
.cli-section h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--primary-color);
}

.docs-section h4,
.cli-section h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.docs-section p,
.cli-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.docs-section ol,
.docs-section ul,
.cli-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.docs-section li,
.cli-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.docs-section strong,
.cli-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.docs-section code,
.cli-section code {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-color);
}

.docs-section pre,
.cli-section pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.docs-section pre code,
.cli-section pre code {
    background: none;
    padding: 0;
    color: #a8dadc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cli-commands-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cli-commands-table th,
.cli-commands-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cli-commands-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    font-weight: 600;
}

.cli-commands-table td {
    color: var(--text-secondary);
}

.cli-commands-table code {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent-color);
}

.docs-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.docs-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.privacy-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-note strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Download Section */
.download-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.download-btn:hover {
    border-color: var(--primary-color);
    background: rgba(244, 162, 97, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.download-btn.universal-btn {
    border-color: var(--accent-color);
    background: rgba(233, 196, 106, 0.1);
}

.download-btn.universal-btn:hover {
    border-color: var(--accent-color);
    background: rgba(233, 196, 106, 0.2);
}

.download-btn .btn-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.download-btn .btn-text strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.download-btn .btn-text small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.install-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.install-note code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent-color);
}

/* Responsive download buttons */
@media (max-width: 768px) {
    .download-buttons {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   SEARCH & ADVANCED FILTERS
   ============================================ */

.search-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.search-btn {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.advanced-search-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.advanced-search-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.advanced-search-btn.active {
    background: rgba(244, 162, 97, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.advanced-filters {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.advanced-filters.visible {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-row label {
    min-width: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-input-small {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.filter-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    min-width: auto;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.search-privacy-notice {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .search-btn,
    .advanced-search-btn {
        width: 100%;
    }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-row label {
        min-width: auto;
    }

    .filter-input,
    .filter-select {
        width: 100%;
    }
}

