/* Theme Variables */
:root {
    /* Light Theme (Default) */
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-border: rgba(255, 255, 255, 0.2);
    --text-primary: #333;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --surface-primary: #ffffff;
    --surface-secondary: rgba(255, 255, 255, 0.95);
    --border-primary: #e5e7eb;
    --border-secondary: rgba(255, 255, 255, 0.2);
    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;
    --success-primary: #10b981;
    --success-secondary: #059669;
    --error-primary: #ef4444;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.25);
    --backdrop-blur: blur(20px);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --header-bg: rgba(31, 41, 55, 0.95);
    --header-border: rgba(75, 85, 99, 0.3);
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --surface-primary: #374151;
    --surface-secondary: rgba(31, 41, 55, 0.95);
    --border-primary: #4b5563;
    --border-secondary: rgba(75, 85, 99, 0.3);
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --success-primary: #34d399;
    --success-secondary: #10b981;
    --error-primary: #f87171;
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-heavy: rgba(0, 0, 0, 0.5);
    --backdrop-blur: blur(20px);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

#app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: var(--header-bg);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--header-border);
    padding: 0 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn, .signup-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.login-btn:hover {
    background: var(--surface-primary);
    color: var(--text-primary);
}

.signup-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.signup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

/* User Account Section */
.user-account {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu {
    position: relative;
}

.user-menu-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #374151;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.user-menu-btn:hover {
    background: #f3f4f6;
}

.user-menu-btn i.fa-user-circle {
    font-size: 1.4rem;
    color: #6b7280;
}

.user-menu-btn i.fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.user-menu.show .user-menu-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 180px;
    display: none;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #374151;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.user-dropdown-item:hover {
    background: #f9fafb;
}

.user-dropdown-item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}

.user-dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.plan-badge {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.city-count {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Form Styles */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.checkbox input {
    width: auto !important;
    margin: 0 !important;
}

.forgot-password {
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #3730a3;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.auth-footer {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    color: #3730a3;
}

/* Free Plan Info */
.plan-info {
    margin: 25px 0;
}

.free-plan-info {
    text-align: center;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    color: #166534;
}

.free-plan-info i {
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 10px;
    display: block;
}

.free-plan-info h3 {
    margin: 0 0 8px 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #166534;
}

.free-plan-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #166534;
    opacity: 0.9;
}

/* Profile Modal */
.profile-content {
    max-width: 500px;
    margin: 0 auto;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h3 {
    margin-bottom: 15px;
    color: #374151;
    font-weight: 600;
    font-size: 1.1rem;
}

.profile-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.profile-field:last-child {
    border-bottom: none;
}

.profile-field label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
}

.profile-field span {
    color: #374151;
    font-weight: 500;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.secondary-btn {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

/* Map Container */
.map-container {
    flex: 1;
    position: relative;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px var(--shadow-heavy);
    background: var(--surface-primary);
    transition: all 0.3s ease;
}

#map {
    height: 100%;
    width: 100%;
}

/* Fullscreen Styles */
.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 9999;
}

.fullscreen .city-panel {
    display: none !important;
}

.fullscreen .fullscreen-btn i::before {
    content: "\f066"; /* compress icon */
}

/* Fullscreen Toggle Button */
.fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #4f46e5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* City Panel */
.city-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-secondary);
    backdrop-filter: var(--backdrop-blur);
    padding: 25px;
    border-top: 1px solid var(--border-secondary);
    z-index: 500;
    transition: all 0.3s ease;
}

.city-controls {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: text;
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 10px var(--shadow-light);
}

.search-input-wrapper input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--shadow-light), 0 2px 20px var(--shadow-medium);
}

.search-input-wrapper input:hover {
    border-color: var(--text-secondary);
}

.search-input-wrapper input::placeholder {
    color: var(--text-tertiary);
    font-style: italic;
}

.search-input-wrapper input:disabled {
    background: var(--surface-secondary);
    cursor: not-allowed;
    border-color: var(--border-primary);
    opacity: 0.6;
}

.search-input-wrapper input:disabled::placeholder {
    color: var(--text-tertiary);
    opacity: 0.5;
}

.search-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 1.1rem;
}

.add-city-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 120px;
}

.cities-available {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* City Dropdown */
.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-primary);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    max-height: 350px;
    overflow: hidden;
    display: none;
    z-index: 1000;
    margin-top: 8px;
    border: 1px solid var(--border-primary);
}

.city-dropdown.show {
    display: block;
}

.city-list {
    max-height: 300px;
    overflow-y: auto;
}

.city-item {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-primary);
}

.city-item:hover {
    background: var(--surface-secondary);
}

.city-item:last-child {
    border-bottom: none;
}

.city-name {
    font-weight: 500;
    color: var(--text-primary);
}

.city-timezone {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Selected Cities */
.selected-cities h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.city-card {
    background: var(--surface-primary);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
}

.city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.city-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.city-card-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.central-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 2px;
}

.city-card-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.set-central-btn-small {
    background: none;
    border: 1px solid #10b981;
    color: #10b981;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.set-central-btn-small:hover {
    background: #10b981;
    color: white;
}

.remove-city-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-city-btn:hover {
    background: #fee2e2;
}

.offset-display {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    margin: 4px 0;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.city-time {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
}

.city-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.city-timezone-info {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.modal {
    background: var(--surface-primary);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px var(--shadow-heavy);
    border: 1px solid var(--border-primary);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.modal-header h2 {
    font-weight: 600;
    font-size: 1.4rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.upgrade-content {
    text-align: center;
}

.feature-list {
    margin-bottom: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
}

.feature i {
    color: #10b981;
    font-size: 1.1rem;
}

.pricing {
    margin-bottom: 25px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #4f46e5;
}

.upgrade-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Custom Map Marker */
.city-marker {
    background: #4f46e5;
    border: 3px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Time Marker Styles */
.city-marker-container {
    font-family: 'Inter', sans-serif !important;
}

.time-marker {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #4f46e5;
    border-radius: 8px;
    padding: 5px 7px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-width: 70px;
    backdrop-filter: blur(10px);
    position: relative;
    max-width: 120px;
}

.time-marker.central {
    border-color: #10b981;
    background: rgba(236, 253, 245, 0.95);
}

.time-marker .city-name {
    color: #374151;
    font-weight: 700;
    font-size: 9px;
    line-height: 1;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.time-marker.central .city-name {
    color: #059669;
}

.time-marker .time {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1px;
    font-size: 11px;
}

.time-marker .offset {
    color: #6b7280;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
}

.time-marker.central .offset {
    color: #059669;
}

.time-marker .central-indicator {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 10px;
    background: rgba(16, 185, 129, 0.9);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.city-popup {
    font-family: 'Inter', sans-serif;
}

.city-popup h3 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.city-popup .time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 4px;
}

.city-popup .date {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.city-popup .timezone {
    font-size: 0.8rem;
    color: #9ca3af;
}

.city-popup .central-label {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    display: inline-block;
}

.city-popup .offset-info {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 4px 0;
}

.set-central-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.set-central-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .header-controls {
        gap: 10px;
    }
    
    .theme-toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .user-info {
        gap: 10px;
    }
    
    .auth-buttons {
        gap: 8px;
    }
    
    .login-btn, .signup-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .user-menu-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .user-menu-btn i.fa-user-circle {
        font-size: 1.2rem;
    }
    
    .plan-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .city-count {
        font-size: 0.8rem;
    }
    
    .user-dropdown {
        min-width: 160px;
    }
    
    .city-panel {
        padding: 20px 15px;
    }
    
    .city-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .add-city-info {
        align-items: flex-start;
        min-width: auto;
    }
    
    .search-input-wrapper input {
        padding: 12px 15px 12px 45px;
        font-size: 0.95rem;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .fullscreen-btn {
        top: 15px;
        right: 15px;
        padding: 10px;
    }
    
    .time-marker {
        font-size: 9px;
        padding: 4px 5px;
        min-width: 60px;
        max-width: 100px;
    }
    
    .time-marker .city-name {
        font-size: 8px;
        margin-bottom: 1px;
    }
    
    .time-marker .time {
        font-size: 10px;
    }
    
    .time-marker .central-indicator {
        width: 14px;
        height: 14px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
    
    .set-central-btn-small {
        padding: 3px;
        font-size: 0.7rem;
    }
    
    .offset-display {
        font-size: 0.75rem;
        padding: 1px 6px;
    }
}

/* Scrollbar Styling */
.city-list::-webkit-scrollbar {
    width: 6px;
}

.city-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.city-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
