/* Modern Animal Tracker CSS - No Tailwind Required */

:root {
    /* Light theme colors */
    --bg-primary: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #faf5ff 100%);
    --bg-secondary: rgba(255, 255, 255, 0.8);
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-input: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --gradient-success: linear-gradient(135deg, #10b981, #059669);
    --gradient-danger: linear-gradient(135deg, #ef4444, #ec4899);
    --gradient-secondary: linear-gradient(135deg, #6b7280, #4b5563);
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #111827;
    --bg-secondary: rgba(31, 41, 55, 0.8);
    --bg-card: rgba(31, 41, 55, 0.5);
    --bg-input: #1f2937;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --border-light: rgba(75, 85, 99, 0.2);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.app {
    min-height: 100vh;
    background: var(--bg-primary);
    transition: all 0.3s ease;
}


/* Header Styles */

.header {
    background: var(--bg-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo h1 {
    font-size: 1.875rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


/* Navigation */

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background: transparent;
    color: var(--text-secondary);
}

.nav-button:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.nav-button svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* Header Controls */

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


/* Theme Toggle */

.theme-toggle {
    padding: 0.75rem;
    border: none;
    border-radius: 0.75rem;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* Mobile Menu Toggle */

.mobile-menu-toggle {
    display: none;
    padding: 0.75rem;
    border: none;
    border-radius: 0.75rem;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* Main Content */

.main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}


/* Loading and Page States */

.loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}


/* Page Headers */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-icon {
    color: #3b82f6;
}

.page-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
}

.page-description {
    color: var(--text-secondary);
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
}


/* Search and Filter Bar */

.search-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input-container {
    position: relative;
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
}

.controls {
    display: flex;
    gap: 0.75rem;
}

.filter-container {
    position: relative;
}

.filter-select {
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    appearance: none;
    min-width: 150px;
}

.filter-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-muted);
    pointer-events: none;
}


/* Buttons */

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.75rem;
    background: transparent;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-back:hover {
    background: var(--bg-card);
    color: #1e40af;
}

.full-width {
    width: 100%;
    justify-content: center;
}

.button-group {
    display: flex;
    gap: 0.75rem;
}


/* Records Grid */

.records-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.record-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.record-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.record-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.record-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
}


/* Breeding Specific Styles */

.breeding-card {
    border-left: 4px solid #ec4899;
}

.breeding-pair {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.male-name {
    color: #3b82f6;
}

.female-name {
    color: #ec4899;
}

.breeding-heart {
    color: #ef4444;
}


/* Hatching Specific Styles */

.hatching-card {
    border-left: 4px solid #f59e0b;
}

.hatching-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}


/* Record Details */

.record-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.detail-row svg {
    width: 1rem;
    height: 1rem;
    color: var(--text-muted);
}

.detail-row.due-soon {
    color: #f59e0b;
    font-weight: 500;
}

.detail-row.overdue {
    color: #ef4444;
    font-weight: 500;
}

.detail-row.success {
    color: #10b981;
    font-weight: 500;
}

.record-notes {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--bg-card);
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-left: 3px solid var(--border-color);
    border-radius: 0.5rem;
}

.record-notes p {
    margin: 0;
}


/* Record Actions */

.record-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-small {
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-small:hover {
    transform: scale(1.1);
}

.btn-small.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-small.btn-danger {
    background: var(--gradient-danger);
    color: white;
}


/* Animal Grid */

.animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.animal-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.animal-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--bg-secondary);
}

.animal-image {
    position: relative;
    overflow: hidden;
    height: 12rem;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.animal-card:hover .animal-image img {
    transform: scale(1.1);
}

.animal-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background-color 0.3s ease;
}

.animal-image-placeholder svg {
    width: 4rem;
    height: 4rem;
}

.status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-active {
    background: rgba(16, 185, 129, 0.8);
    color: white;
}

.status-breeder {
    background: rgba(59, 130, 246, 0.8);
    color: white;
}

.status-retired {
    background: rgba(107, 114, 128, 0.8);
    color: white;
}

.status-pending {
    background: rgba(245, 158, 11, 0.8);
    color: white;
}

.status-success,
.status-successful {
    background: rgba(16, 185, 129, 0.8);
    color: white;
}

.status-failed {
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

.status-incubating {
    background: rgba(59, 130, 246, 0.8);
    color: white;
}

.status-hatching {
    background: rgba(245, 158, 11, 0.8);
    color: white;
}

.status-completed {
    background: rgba(16, 185, 129, 0.8);
    color: white;
}

.status-default {
    background: rgba(107, 114, 128, 0.8);
    color: white;
}

.animal-info {
    padding: 1.25rem;
}

.animal-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.animal-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-height: 120px;
    overflow-y: auto;
}

.animal-detail {
    display: flex;
    align-items: flex-start;
}

.animal-detail-label {
    font-weight: 500;
    width: 4rem;
    flex-shrink: 0;
}


/* Modal */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
}

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

.modal-content {
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

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

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

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 5rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.image-preview {
    margin-top: 1rem;
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}


/* Empty State */

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}


/* Feature Pages */

.feature-page {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #3b82f6;
}

.feature-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-coming-soon {
    background: var(--bg-card);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.feature-coming-soon h3 {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.feature-coming-soon p {
    font-size: 0.875rem;
    color: var(--text-muted);
}


/* Animal Page Styles */

.animal-page-card {
    background: var(--bg-secondary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.animal-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.animal-page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.animal-page-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.animal-page-main {
    min-height: 400px;
}

.edit-form {
    display: grid;
    gap: 1.5rem;
}

.animal-details-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.animal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.animal-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--text-primary);
}

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

.info-card {
    padding: 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0.75rem;
}

.info-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notes-card {
    grid-column: 1 / -1;
}

.notes-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

.animal-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-card);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.animal-photo {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.animal-photo-placeholder {
    width: 100%;
    height: 16rem;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: var(--text-muted);
}

.animal-photo-placeholder svg {
    width: 4rem;
    height: 4rem;
}

.photo-actions {
    margin-top: 1rem;
}

.qr-container {
    display: flex;
    justify-content: center;
}

.qr-code {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    font-family: monospace;
    text-align: center;
    font-size: 6px;
    overflow-wrap: break-word;
}

.qr-code-header {
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.qr-code-content {
    font-size: 6px;
    color: var(--text-secondary);
}


/* Responsive Design */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-desktop {
        display: none;
    }
    .nav-mobile {
        display: flex;
    }
    .nav-mobile .nav-button {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
    .search-bar {
        flex-direction: column;
    }
    .controls {
        flex-direction: column;
        width: 100%;
    }
    .filter-container {
        width: 100%;
    }
    .filter-select {
        width: 100%;
    }
    .animal-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    .records-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 1.5rem;
    }
    .animal-page-header {
        flex-direction: column;
        align-items: stretch;
    }
    .animal-page-actions {
        justify-content: center;
    }
    .animal-page-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .animal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .animal-title {
        font-size: 1.875rem;
    }
    .animal-info-grid {
        grid-template-columns: 1fr;
    }
    .hatching-stats {
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .search-bar {
        flex-direction: row;
        align-items: center;
    }
    .controls {
        flex-direction: row;
    }
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}


/* Backdrop blur fallback for older browsers */

@supports not (backdrop-filter: blur(12px)) {
    .header {
        background: var(--bg-secondary);
    }
    .animal-card {
        background: var(--bg-card);
    }
    .modal {
        background: var(--bg-secondary);
    }
}