/* Shadow Spot - Dark Blue Theme */

/* Custom Font */
@font-face {
    font-family: 'Daggersquare';
    src: url('fonts/DAGGERSQUARE.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1a2236;
    --accent-cyan: #00d4ff;
    --accent-blue: #0066ff;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    --text-primary: #ffffff;
    --text-secondary: #64748b;
    --text-muted: #374151;
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4466;
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
    --glow-success: 0 0 20px rgba(0, 255, 136, 0.4);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --font-main: 'Daggersquare', 'Segoe UI', -apple-system, sans-serif;
}

/* Ensure root is transparent to prevent white corners */
html {
    background: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden;
    user-select: none;
}

/* The actual window visual container */
.window-frame {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    background-clip: padding-box;
    position: relative;
}

/* Custom Titlebar */
.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    background: linear-gradient(180deg, #151c2c 0%, #0f1420 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    -webkit-app-region: drag;
}

.titlebar-drag {
    flex: 1;
    padding-left: 16px;
}

.titlebar-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.titlebar-favicon {
    height: 20px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    -webkit-app-region: no-drag;
}

.titlebar-controls {
    display: flex;
    -webkit-app-region: no-drag;
}

.titlebar-btn {
    width: 46px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.titlebar-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.titlebar-btn.close:hover {
    background: #e81123;
    color: white;
}

/* CSS Icons */
.icon-minimize {
    display: inline-block;
    width: 10px;
    height: 1px;
    background: currentColor;
    vertical-align: middle;
}

.icon-close {
    display: inline-block;
    width: 10px;
    height: 10px;
    position: relative;
}

.icon-close::before,
.icon-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
}

.icon-close::before {
    transform: rotate(45deg);
}

.icon-close::after {
    transform: rotate(-45deg);
}

.icon-arrow-down,
.icon-arrow-up {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.icon-arrow-down {
    border-top: 7px solid currentColor;
}

.icon-arrow-up {
    border-bottom: 7px solid currentColor;
}

/* Trash Icon (CSS) */
.icon-trash {
    display: inline-block;
    width: 14px;
    height: 16px;
    position: relative;
}

.icon-trash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -1px;
    right: -1px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.icon-trash::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 1px;
    right: 1px;
    bottom: 0;
    border: 1.5px solid currentColor;
    border-top: none;
    border-radius: 0 0 2px 2px;
}

/* Container */
.container {
    padding: 20px;
    height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Section Header (label + add button) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    overflow: visible;
    z-index: 10;
    position: relative;
    padding-right: 4px;
}

/* Section Labels */
.section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Add Button (+) */
.add-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--success);
    color: #0a0e17;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 3px;
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
}

.add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 255, 136, 0.5);
}

.add-btn:active {
    transform: scale(0.95);
}

/* Header Buttons Container */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* QR Browse Button */
.qr-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card-hover);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 3px;
}

.qr-btn:hover {
    background: var(--accent-cyan);
    color: #0a0e17;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.qr-btn:active {
    transform: scale(0.95);
}

/* Locations Section */
.locations-section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    margin-bottom: 16px;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    position: relative;
    transition: border-color 0.2s ease;
    border: 2px dashed transparent;
    border-radius: var(--border-radius);
}

/* Drag over visual feedback */
.locations-list.drag-over {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 120px;
    padding: 24px;
    text-align: center;
    gap: 8px;
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 4px;
}

.empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.empty-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.hint-accent {
    color: var(--success);
    font-weight: 700;
    font-size: 14px;
}

/* Location Item (iOS-style card) */
.location-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
}

.location-item.selected {
    background: var(--bg-card-hover);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.location-item.connected {
    border-color: var(--success);
    box-shadow: var(--glow-success);
}

.location-info {
    flex: 1;
    min-width: 0;
}

/* iOS-style card: name (bold), address:port, protocol */
.location-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-address {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-protocol {
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 1px;
}

/* Location Actions */
.location-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Delete Button */
.delete-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--error);
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.delete-btn:hover {
    opacity: 1;
    background: rgba(255, 68, 102, 0.1);
}

/* Connect Section */
.connect-section {
    padding: 10px 0;
    flex-shrink: 0;
}

.connect-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--accent-gradient);
    color: white;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.connect-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.connect-btn:active:not(:disabled) {
    transform: translateY(0);
}

.connect-btn:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    background: var(--bg-card);
}

.connect-btn.connected {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.connect-btn.connecting {
    background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.3);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.connect-icon {
    font-size: 18px;
}

/* Status Panel */
.status-panel {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 16px;
    flex-shrink: 0;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.status-row+.status-row {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ip-item {
    flex: 1;
    overflow: hidden;
}

.ip-value {
    font-size: 11px;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ping-item {
    flex-shrink: 0;
}

.status-label {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

.status-value {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Consolas', 'Monaco', monospace;
}

.session-item {
    flex-shrink: 0;
}

.session-time {
    font-size: 11px;
    color: var(--accent-cyan);
    font-family: 'Consolas', 'Monaco', monospace;
}

.traffic-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.traffic-icon {
    font-size: 12px;
    font-weight: 700;
}

.traffic-icon.download {
    color: var(--success);
}

.traffic-icon.upload {
    color: var(--accent-cyan);
}

.traffic-value {
    font-size: 10px;
    color: var(--text-primary);
    font-family: 'Consolas', 'Monaco', monospace;
    min-width: 50px;
}

.total-value {
    font-size: 9px;
    color: var(--text-muted);
    font-family: 'Consolas', 'Monaco', monospace;
}

.ping-value {
    font-size: 10px;
    min-width: 45px;
}

.ping-value.ping-good {
    color: var(--success);
}

.ping-value.ping-medium {
    color: var(--warning);
}

.ping-value.ping-bad {
    color: var(--error);
}

.ping-value.ping-timeout {
    color: var(--text-muted);
}

.sparkline-container {
    flex-shrink: 0;
}

#sparkline {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Log Section */
.log-section {
    flex: 0 0 140px;
    min-height: 140px;
    max-height: 140px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 16px;
}

.log-section>.section-label {
    margin-bottom: 8px;
}

.log-container {
    flex: 1;
    min-height: 0;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 12px;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 10px;
    line-height: 1.5;
}

.log-entry {
    color: var(--text-secondary);
    padding: 2px 0;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.log-entry.info {
    color: var(--accent-cyan);
}

.log-entry.success {
    color: var(--success);
}

.log-entry.error {
    color: var(--error);
}

.log-entry.hint {
    color: #ffaa44;
    font-style: italic;
}

/* Scrollbar - Hidden but scrolling works */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* ============ Modal Styles ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

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

.modal-dialog {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.1);
    animation: modalAppear 0.2s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.modal-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}

.modal-btn.primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.modal-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.4);
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.modal-btn.danger {
    background: linear-gradient(135deg, #ff4466 0%, #cc2244 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 68, 102, 0.3);
}

.modal-btn.danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 68, 102, 0.4);
}

/* ============ Import Dialog ============ */
.import-dialog {
    max-width: 340px;
}

.import-input {
    width: 100%;
    min-height: 80px;
    max-height: 120px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    resize: none;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 12px;
}

.import-input:focus {
    border-color: var(--accent-cyan);
}

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

.import-error {
    display: none;
    font-size: 12px;
    color: var(--error);
    margin-bottom: 12px;
    text-align: left;
}

/* Settings Menu */
.settings-wrapper {
    position: relative;
    -webkit-app-region: no-drag;
}

.settings-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    min-width: 120px;
    display: none;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.settings-menu.show {
    display: block;
    animation: fadeIn 0.1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-item {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.settings-item.selected {
    color: var(--accent-cyan);
}

.checkmark {
    opacity: 0;
    font-weight: bold;
}

.settings-item.selected .checkmark {
    opacity: 1;
}

/* Gear Icon */
.icon-settings {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='0' y='0' width='10' height='20' fill='%23000000'/%3E%3Crect x='10' y='0' width='10' height='20' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.titlebar-btn:hover .icon-settings {
    opacity: 0.8;
}

/* Light Theme Icon Adjustment */
body.light-theme .icon-settings {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


/* =========================================
   LIGHT THEME 
   ========================================= */

body.light-theme {
    background-color: transparent !important;
}

body.light-theme .window-frame {
    background-color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

body.light-theme .container {
    background-color: transparent;
    backdrop-filter: blur(25px);
    border-radius: 0;
}

body.light-theme .titlebar {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .titlebar-title,
body.light-theme .titlebar-btn {
    color: #222;
}

body.light-theme .titlebar-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Location Cards - Light */
body.light-theme .location-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.light-theme .location-item:hover {
    background: rgba(255, 255, 255, 0.6);
}

body.light-theme .location-item.selected {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
}

body.light-theme .location-name {
    color: #000000;
}

body.light-theme .location-address {
    color: #555555;
}

body.light-theme .location-protocol {
    color: #777777;
}

/* Status Panel - Light */
body.light-theme .status-panel {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Log Container - Light */
body.light-theme .log-container {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Connect Button - Light */
body.light-theme .connect-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .connect-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-1px);
}

body.light-theme .connect-btn.connected {
    background: rgba(220, 255, 230, 0.6);
    color: #008844;
    border-color: rgba(0, 255, 136, 0.2);
}

body.light-theme .connect-btn.connecting {
    background: rgba(255, 245, 220, 0.6);
    color: #cc8800;
}

body.light-theme .status-row+.status-row {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .titlebar-btn.close:hover {
    color: white;
}

/* Modal - Light */
body.light-theme .modal-dialog {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .modal-title {
    color: #000;
}

body.light-theme .modal-message {
    color: #444;
}

body.light-theme .modal-btn.primary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

body.light-theme .modal-btn.secondary {
    background: rgba(255, 255, 255, 0.4);
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .modal-btn.danger {
    background: rgba(255, 68, 102, 0.8);
    color: white;
}

/* Import Input - Light */
body.light-theme .import-input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
    color: #000;
}

body.light-theme .import-input:focus {
    border-color: var(--accent-blue);
}

body.light-theme .import-input::placeholder {
    color: #aaa;
}

/* Add Button - Light */
body.light-theme .add-btn {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

body.light-theme .add-btn:hover {
    box-shadow: 0 3px 12px rgba(0, 102, 255, 0.5);
}

/* QR Button - Light */
body.light-theme .qr-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .qr-btn:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

/* Delete Button - Light */
body.light-theme .delete-btn {
    color: #cc2244;
}

body.light-theme .delete-btn:hover {
    background: rgba(255, 68, 102, 0.08);
}

/* Empty State - Light */
body.light-theme .empty-title {
    color: #555;
}

body.light-theme .empty-hint {
    color: #888;
}

body.light-theme .hint-accent {
    color: var(--accent-blue);
}

/* Drag Over - Light */
body.light-theme .locations-list.drag-over {
    border-color: var(--accent-blue);
    background: rgba(0, 102, 255, 0.05);
}

/* Settings Menu - Light */
body.light-theme .settings-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
    backdrop-filter: blur(10px);
}

body.light-theme .settings-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Light Theme Text Overrides */
body.light-theme .section-label {
    color: #333333;
}

body.light-theme .status-label {
    color: #444444;
}

body.light-theme .status-value {
    color: #000000;
}

body.light-theme .total-value {
    color: #666666;
}

body.light-theme .traffic-value {
    color: #000000;
}