/* Copied from static/styles.css for GitHub Pages */
/*
 * Minimalist World Time Zone Converter CSS
 * Inspired by time.is - Clean, minimal design with white background,
 * dark gray text, and red accent color
 */

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

body {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fefefe;
    color: #333333;
    line-height: 1.6;
    font-weight: 700;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2d2d2d;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

p {
    font-size: 1rem;
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.site-description {
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: -1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .site-description {
    color: #666666;
}

/* Header section - combined info and date */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-left: 3px solid #dc3545;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0;
    gap: 2rem;
}

/* Controls section - contains theme toggle and date input */
.controls-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 2px solid #dc3545;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: #dc3545;
    transform: scale(1.05);
}

.theme-icon {
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

.current-info {
    flex: 1;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.current-info p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    text-align: left;
    color: #555555;
}

.current-info strong {
    color: #2d2d2d;
    font-weight: 800;
}

/* Date section - inline */
.timezone-converter {
    margin-top: 0;
}

.date-section {
    flex-shrink: 0;
    text-align: right;
    margin-bottom: 0;
}

.date-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1rem;
    color: #2d2d2d;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: right;
}

.date-input {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 0.95rem;
    background-color: #ffffff;
    transition: all 0.2s ease;
    min-width: 180px;
    font-weight: 700;
}

.date-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.date-input:hover {
    border-color: #cccccc;
}

/* Timezone grid - minimal horizontal layout */
.timezone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    overflow: hidden;
    min-height: 200px;
}

/* Individual timezone cards */
.timezone-card {
    background-color: #ffffff;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.2rem 0.8rem;
    transition: all 0.2s ease;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Drag handle */
.drag-handle {
    font-size: 0.9rem;
    color: #cccccc;
    cursor: grab;
    margin-bottom: 0.3rem;
    line-height: 1;
    user-select: none;
    transition: color 0.15s ease;
}

.timezone-card:hover .drag-handle {
    color: #aaaaaa;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Drag states */
.timezone-card.is-dragging {
    opacity: 0.4;
}

.timezone-card.drag-over {
    border-left: 3px solid #dc3545;
    background-color: #fff5f5;
}

[data-theme="dark"] .timezone-card.drag-over {
    background-color: #2a1f1f;
    border-left-color: #dc3545;
}

[data-theme="dark"] .drag-handle {
    color: #555555;
}

[data-theme="dark"] .timezone-card:hover .drag-handle {
    color: #888888;
}

/* Remove button on each card */
.remove-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #cccccc;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    font-weight: 400;
    opacity: 0;
}

.timezone-card:hover .remove-btn {
    opacity: 1;
}

.remove-btn:hover {
    background-color: #dc3545;
    color: #ffffff;
}

.timezone-card:hover {
    background-color: #fafafa;
}

.timezone-card--active {
    background-color: #fff5f5;
    border-left: 3px solid #dc3545;
}

.timezone-card--active:hover {
    background-color: #fff5f5;
}

/* Card header with flag and info */
.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.8rem;
    text-align: center;
}

/* Flag container for emojis */
.flag-container {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}

/* Timezone info */
.timezone-info {
    text-align: center;
}

.timezone-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #2d2d2d;
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.timezone-location {
    font-size: 0.7rem;
    color: #888888;
    font-weight: 700;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Time section */
.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.time-input {
    width: 100%;
    max-width: 160px;
    padding: 0.7rem 0.6rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 800;
    background-color: #ffffff;
    text-align: center;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, monospace;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
    color: #2d2d2d;
    line-height: 1;
    overflow: visible;
    box-sizing: border-box;
}

.time-input:hover {
    border-color: #cccccc;
    background-color: #fafafa;
}

.time-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
    background-color: #ffffff;
}

.timezone-card--active .time-input {
    border-color: #dc3545;
    background-color: #ffffff;
    font-weight: 900;
}

/* Timezone offset */
.timezone-offset {
    font-size: 0.65rem;
    color: #888888;
    font-weight: 800;
    background-color: transparent;
    padding: 0.3rem 0.6rem;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-top: 0.5rem;
    text-align: center;
    letter-spacing: 0.02em;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: all 0.2s ease;
}

.timezone-card--active .timezone-offset {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

/* AM/PM display - hidden since it's now visible in time input */
.ampm-display {
    display: none;
}

.timezone-card--active .ampm-display {
    display: none;
}

/* Status message */
.status-message {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 0;
}

.status-message--loading {
    background-color: #f8f9fa;
    color: #666666;
    border-left: 3px solid #6c757d;
}

.status-message--success {
    background-color: #f8f9fa;
    color: #2d2d2d;
    border-left: 3px solid #dc3545;
}

.status-message--error {
    background-color: #fff5f5;
    color: #dc3545;
    border-left: 3px solid #dc3545;
}

.status-message--warning {
    background-color: #fffbf0;
    color: #856404;
    border-left: 3px solid #ffc107;
}

/* Loading animation */
.status-message--loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #cccccc;
    border-top: 2px solid #dc3545;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
    vertical-align: middle;
}

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

/* Responsive design */
@media (max-width: 1200px) {
    .timezone-card {
        padding: 2.5rem 1.5rem;
        min-height: 300px;
    }
}

@media (max-width: 1400px) {
    .timezone-card {
        padding: 1rem 0.6rem;
        min-height: 180px;
    }

    .timezone-name {
        font-size: 0.9rem;
    }

    .timezone-location {
        font-size: 0.65rem;
    }

    .flag-container {
        font-size: 1.6rem;
    }

    .time-input {
        font-size: 1rem;
        max-width: 140px;
        padding: 0.6rem 0.5rem;
    }

    .timezone-offset {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 1200px) {
    .timezone-grid {
        grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    }

    .timezone-card {
        padding: 0.8rem 0.4rem;
        min-height: 160px;
    }

    .timezone-name {
        font-size: 0.8rem;
    }

    .timezone-location {
        font-size: 0.6rem;
    }

    .flag-container {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .time-input {
        font-size: 0.9rem;
        max-width: 120px;
        padding: 0.5rem 0.4rem;
    }

    .timezone-offset {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.4rem;
    }

    .ampm-display {
        display: none;
    }
}

@media (max-width: 900px) {
    .timezone-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .timezone-card {
        border-bottom: 1px solid #e8e8e8;
        padding: 1rem 0.5rem;
        min-height: 180px;
    }

    .timezone-name {
        font-size: 0.85rem;
    }

    .timezone-location {
        font-size: 0.65rem;
    }

    .flag-container {
        font-size: 1.5rem;
    }

    .time-input {
        font-size: 1rem;
        max-width: 130px;
        padding: 0.6rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .header-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .controls-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .current-info {
        flex: none;
    }

    .date-section {
        text-align: center;
    }

    .date-label {
        text-align: center;
    }

    .timezone-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .timezone-card {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding: 1.5rem 1rem;
        min-height: auto;
    }

    .timezone-card:last-child {
        border-bottom: none;
    }

    .card-header {
        margin-bottom: 1.2rem;
    }

    .flag-container {
        font-size: 2rem;
    }

    .time-input {
        font-size: 1.2rem;
        max-width: 180px;
        padding: 0.8rem 0.5rem;
    }

    .ampm-display {
        display: none;
    }

    .date-input {
        min-width: 160px;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 0.75rem;
    }

    h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .header-section {
        padding: 1rem 1.25rem;
    }

    .timezone-card {
        padding: 1.75rem 1.25rem;
    }

    .time-input {
        font-size: 1.2rem;
        width: 180px;
        padding: 1rem 0.75rem;
    }

    .ampm-display {
        font-size: 0.75rem;
    }

    .timezone-name {
        font-size: 1.1rem;
    }

    .timezone-location {
        font-size: 0.85rem;
    }

    .date-input {
        min-width: 140px;
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .current-info p {
        font-size: 0.9rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .timezone-grid {
        grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    }

    .container {
        max-width: 1400px;
        padding: 4rem 2rem;
    }

    .timezone-card {
        padding: 3.5rem 3rem;
        min-height: 360px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .container {
        max-width: none;
        margin: 0;
        padding: 1rem;
    }

    .timezone-card {
        border: 1px solid #cccccc;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .status-message {
        display: none;
    }

    .time-input:focus,
    .date-input:focus {
        box-shadow: none;
        border-color: #cccccc;
    }
}

/* High contrast mode */
/* Dark Mode Styles */
[data-theme="dark"],
[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #ffffff;
}

[data-theme="dark"] .container {
    background-color: #1a1a1a;
}

[data-theme="dark"] h1 {
    color: #ffffff;
}

[data-theme="dark"] .header-section {
    background-color: #2d2d2d;
    border-left-color: #dc3545;
}

[data-theme="dark"] .current-info p {
    color: #cccccc;
}

[data-theme="dark"] .current-info strong {
    color: #ffffff;
}

[data-theme="dark"] .date-label {
    color: #cccccc;
}

[data-theme="dark"] .date-input {
    background-color: #2d2d2d;
    border-color: #444444;
    color: #ffffff;
}

[data-theme="dark"] .date-input:focus {
    border-color: #dc3545;
    background-color: #333333;
}

[data-theme="dark"] .theme-toggle {
    border-color: #dc3545;
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle:hover {
    background-color: #dc3545;
}

[data-theme="dark"] .timezone-grid {
    border-color: #444444;
}

[data-theme="dark"] .timezone-card {
    background-color: #2d2d2d;
    border-right-color: #444444;
    border-bottom-color: #444444;
}

[data-theme="dark"] .timezone-card:hover {
    background-color: #333333;
}

[data-theme="dark"] .timezone-card--active {
    background-color: #2a1f1f;
    border-left-color: #dc3545;
}

[data-theme="dark"] .timezone-card--active:hover {
    background-color: #2a1f1f;
}

[data-theme="dark"] .timezone-name {
    color: #ffffff;
}

[data-theme="dark"] .timezone-location {
    color: #cccccc;
}

[data-theme="dark"] .time-input {
    background-color: #333333;
    border-color: #555555;
    color: #ffffff;
}

[data-theme="dark"] .time-input:hover {
    border-color: #666666;
    background-color: #3a3a3a;
}

[data-theme="dark"] .time-input:focus {
    border-color: #dc3545;
    background-color: #333333;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

[data-theme="dark"] .timezone-card--active .time-input {
    border-color: #dc3545;
    background-color: #333333;
}

[data-theme="dark"] .timezone-offset {
    background-color: #333333;
    border-color: #555555;
    color: #cccccc;
}

[data-theme="dark"] .timezone-card--active .timezone-offset {
    background-color: #dc3545;
    color: #ffffff;
    border-color: #dc3545;
}

[data-theme="dark"] .status-message {
    color: #cccccc;
    background-color: #2d2d2d;
    border-color: #444444;
}

[data-theme="dark"] .status-message--success {
    background-color: #1f2d1f;
    border-color: #28a745;
    color: #ffffff;
}

[data-theme="dark"] .status-message--error {
    background-color: #2d1f1f;
    border-color: #dc3545;
    color: #ffffff;
}

[data-theme="dark"] .status-message--warning {
    background-color: #2d2a1f;
    border-color: #ffc107;
    color: #ffffff;
}

[data-theme="dark"] .status-message--loading {
    background-color: #1f252d;
    border-color: #007bff;
    color: #ffffff;
}

/* Accessibility and high contrast support */
@media (prefers-contrast: high) {
    .timezone-card {
        border-width: 2px;
    }

    .timezone-card--active {
        border-left-width: 4px;
    }

    .time-input:focus,
    .date-input:focus {
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus management for accessibility */
.time-input:focus,
.date-input:focus {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* Additional minimalist touches */
.timezone-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #dc3545;
    transition: width 0.3s ease;
}

.timezone-card--active::after {
    width: 60%;
}

/* Subtle hover effects */
.timezone-card:hover::after {
    width: 30%;
}

.timezone-card--active:hover::after {
    width: 60%;
}

/* =================== GRID FOOTER & ADD BUTTON =================== */
.grid-footer {
    display: flex;
    justify-content: center;
    padding: 1.25rem 0 0.5rem;
}

.btn-add-timezone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease;
    letter-spacing: 0.03em;
}

.btn-add-timezone:hover {
    background-color: #dc3545;
    color: #ffffff;
}

.btn-add-icon {
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 400;
}

/* =================== MODAL =================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.modal--open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #2d2d2d;
    margin: 0;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #888888;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    transition: color 0.15s ease;
    font-weight: 400;
}

.modal-close:hover {
    color: #dc3545;
}

.modal-search {
    margin: 1rem 1.5rem 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid #e0e0e0;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    border-radius: 0;
    flex-shrink: 0;
    transition: border-color 0.15s ease;
}

.modal-search:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.modal-list {
    overflow-y: auto;
    flex: 1;
    padding: 0.5rem 0 1rem;
}

.modal-group {
    margin-bottom: 0.5rem;
}

.modal-group-label {
    padding: 0.5rem 1.5rem 0.3rem;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaaaaa;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0.25rem;
}

.modal-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.55rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    gap: 0.75rem;
    transition: background-color 0.1s ease;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal-item:hover:not(:disabled) {
    background-color: #fff5f5;
}

.modal-item--active {
    opacity: 0.45;
    cursor: default;
}

.modal-item-flag {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 1.6rem;
    text-align: center;
}

.modal-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.modal-item-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2d2d2d;
    line-height: 1.2;
}

.modal-item-location {
    font-size: 0.7rem;
    font-weight: 600;
    color: #888888;
    line-height: 1.2;
}

.modal-item-check {
    font-size: 0.8rem;
    color: #28a745;
    font-weight: 900;
    flex-shrink: 0;
}

.modal-item-add {
    font-size: 1rem;
    color: #dc3545;
    font-weight: 400;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.modal-item:hover .modal-item-add {
    opacity: 1;
}

.modal-empty {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =================== DARK MODE - NEW ELEMENTS =================== */
[data-theme="dark"] .remove-btn {
    color: #555555;
}

[data-theme="dark"] .remove-btn:hover {
    background-color: #dc3545;
    color: #ffffff;
}

[data-theme="dark"] .btn-add-timezone {
    border-color: #dc3545;
    color: #dc3545;
}

[data-theme="dark"] .btn-add-timezone:hover {
    background-color: #dc3545;
    color: #ffffff;
}

[data-theme="dark"] .modal-content {
    background-color: #2d2d2d;
}

[data-theme="dark"] .modal-header {
    border-bottom-color: #444444;
}

[data-theme="dark"] .modal-title {
    color: #ffffff;
}

[data-theme="dark"] .modal-close {
    color: #888888;
}

[data-theme="dark"] .modal-close:hover {
    color: #dc3545;
}

[data-theme="dark"] .modal-search {
    background-color: #333333;
    border-color: #555555;
    color: #ffffff;
}

[data-theme="dark"] .modal-search:focus {
    border-color: #dc3545;
}

[data-theme="dark"] .modal-group-label {
    color: #666666;
    border-bottom-color: #3a3a3a;
}

[data-theme="dark"] .modal-item:hover:not(:disabled) {
    background-color: #2a1f1f;
}

[data-theme="dark"] .modal-item-name {
    color: #ffffff;
}

[data-theme="dark"] .modal-item-location {
    color: #aaaaaa;
}
