body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    min-height: 100vh;
    /* iOS safe area support */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.container {
    max-width: 100%;
    margin: 0;
    background: #fff;
    padding: 10px;
    padding-top: calc(5px + env(safe-area-inset-top));
    /* Remove border and shadow for full-screen iOS experience */
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
}

/* Logo Header Styles */
.logo-header {
    text-align: center;
    margin-bottom: 15px;
}

.logo-header img {
    max-width: 300px;
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive logo sizing */
@media (max-width: 480px) {
    .logo-header img {
        max-width: 250px;
        width: 90%;
    }
}

@media (max-width: 320px) {
    .logo-header img {
        max-width: 200px;
        width: 95%;
    }
}

@media (min-width: 768px) {
    body {
        padding: 20px;
        background-color: #f4f4f4;
    }
    .container {
        max-width: 800px;
        margin: auto;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        min-height: auto;
    }
}

h1, h2 {
    text-align: center;
}

#status {
    font-weight: bold;
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#data-display {
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
    min-height: 150px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: "Courier New", Courier, monospace;
}

.hidden {
    display: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 10px;
}

/* Offline Workflow Styles */
.auth-mode-toggle {
    display: inline-flex;
    background: #f0f0f0;
    border-radius: 25px;
    padding: 2px;
}

.auth-mode-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    background: transparent;
    color: #666;
    transition: all 0.3s ease;
}

.auth-mode-btn.active {
    background: #007bff;
    color: white;
}

.auth-mode-btn.offline-active {
    background: #17a2b8;
    color: white;
}

.auth-form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.auth-btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.auth-btn-primary {
    background-color: #007bff;
    color: white;
}

.auth-btn-success {
    background-color: #28a745;
    color: white;
}

.auth-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.auth-btn:hover {
    opacity: 0.9;
}

.auth-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.auth-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Welcome Back Prompt */
.welcome-back-container {
    text-align: center;
    margin-bottom: 20px;
}

.welcome-back-card {
    display: inline-block;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
}

.welcome-back-title {
    margin: 0 0 15px 0;
    color: #856404;
}

.welcome-back-description {
    margin: 0 0 20px 0;
    color: #856404;
    line-height: 1.5;
}

.welcome-back-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.welcome-back-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.welcome-back-btn-primary {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.welcome-back-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.welcome-back-btn-success {
    background-color: #28a745;
    color: white;
}

.welcome-back-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.welcome-back-data-summary {
    margin-top: 15px;
    font-size: 14px;
    color: #856404;
}

/* Sync Status and Progress */
.sync-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.sync-progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sync-progress-bar {
    flex: 1;
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.sync-progress-fill {
    height: 100%;
    background: #007bff;
    transition: width 0.3s ease;
}

.sync-progress-text {
    font-size: 12px;
    color: #666;
}

.sync-progress-message {
    margin-top: 5px;
    font-size: 14px;
}

/* Offline Data Summary */
.offline-data-summary {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.offline-data-summary-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.sync-now-btn {
    margin-top: 8px;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.sync-now-btn:hover {
    background: #0056b3;
}

/* Loading State */
.auth-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.auth-loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Back Button */
.back-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

/* Additional styles extracted from inline styles */

/* Auth form styles */
.auth-form-wrapper {
    margin-bottom: 20px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 15px;
}

.auth-form-title {
    margin: 0 0 10px 0;
    color: #007bff;
}

.auth-form-title-success {
    margin: 0 0 10px 0;
    color: #28a745;
}

.auth-form-subtitle {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.auth-form-back-container {
    margin-top: 15px;
    text-align: center;
}

/* Failed sync items styles */
.failed-sync-item {
    margin: 5px 0;
    padding: 8px;
    background: #f8d7da;
    border-radius: 3px;
    font-size: 12px;
}

.failed-sync-retry-btn {
    margin-left: 10px;
    padding: 2px 6px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 10px;
}

.failed-sync-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
}

.failed-sync-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.failed-sync-actions {
    margin-top: 10px;
}

.failed-sync-retry-all-btn {
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.failed-sync-dismiss-btn {
    margin-left: 10px;
    padding: 5px 10px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

/* Offline mode styles */
.offline-auth-container {
    display: none;
}

.offline-mode-card {
    text-align: center;
    padding: 20px;
    background: #e8f4f8;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
}

.offline-mode-title {
    margin: 0 0 10px 0;
    color: #0c5460;
}

.offline-mode-description {
    margin: 0 0 15px 0;
    color: #0c5460;
}

.offline-mode-btn {
    padding: 12px 24px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.offline-features {
    margin-top: 15px;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

/* Dynamic width for progress bar */
.sync-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Offline data summary styles */
.offline-data-summary-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.offline-data-summary-title {
    font-weight: bold;
}

.offline-data-sync-btn {
    margin-top: 8px;
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.offline-data-sync-btn:hover {
    background: #0056b3;
}

/* Notification Overlay Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Notification overlay styles */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    padding-top: calc(20px + env(safe-area-inset-top));
}

.notification-content {
    background: #dc3545;
    color: white;
    width: 100%;
    padding: 16px 24px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    animation: fadeIn 1s ease-out;
    word-wrap: break-word;
    font-size: 16.8px;
    line-height: 1.4;
    font-weight: 500;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.notification-content.hiding {
    animation: fadeOut 1s ease-out forwards;
}

.notification-content-text {
    margin-bottom: 8px;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 16px;
    line-height: 1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 500;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.notification-content.success {
    background: #28a745;
}

.notification-content.error {
    background: #dc3545;
}

.notification-content.warning {
    background: #ffc107;
    color: #212529;
}

.notification-content.warning .notification-close {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #212529;
}

.notification-content.warning .notification-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.notification-content.info {
    background: #17a2b8;
}

/* Mobile-Optimized Session Management Styles */

/* Session Panel Responsive Layout */
#session-panel {
    padding: 12px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    #session-panel {
        padding: 15px;
        margin-bottom: 20px;
    }
}

/* Session Controls - Side-by-side layout */
.session-controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.session-controls button {
    display: inline-block;
    width: auto;
    margin-bottom: 0;
}

/* Session List Container */
#session-list {
    border: none;
    padding: 0;
    max-height: none;
    overflow-y: visible;
}

@media (min-width: 768px) {
    #session-list {
        max-height: 500px;
        overflow-y: auto;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
    }
}

/* Session Card Styles */
.session-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s, transform 0.2s;
}

.session-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .session-card {
        margin-bottom: 16px;
        padding: 20px;
    }
}

/* Session Header */
.session-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.session-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    word-break: break-all;
    flex: 1;
    min-width: 0;
}

@media (min-width: 480px) {
    .session-name {
        font-size: 18px;
        word-break: normal;
    }
}

.session-date {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    font-weight: 400;
}

@media (min-width: 480px) {
    .session-date {
        font-size: 14px;
    }
}

/* Sync status indicator */
.sync-status {
    font-size: 16px;
    cursor: help;
    margin-left: 8px;
}

.sync-status.synced {
    opacity: 0.8;
}

.sync-status.not-synced {
    opacity: 0.5;
}

/* Metadata Grid */
.session-metadata {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-bottom: 16px;
}

@media (min-width: 380px) {
    .session-metadata {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px 16px;
    }
}

@media (min-width: 768px) {
    .session-metadata {
        gap: 12px 20px;
    }
}

.metadata-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    min-width: 0;
}

@media (min-width: 480px) {
    .metadata-item {
        font-size: 14px;
        gap: 8px;
    }
}

.metadata-icon {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.metadata-value {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

/* Action Buttons */
.session-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-height: 44px; /* Touch-friendly */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn.primary {
    background: #007bff;
    color: white;
}

.action-btn.primary:hover {
    background: #0056b3;
}

.action-btn.secondary {
    background: #28a745;
    color: white;
}

.action-btn.secondary:hover {
    background: #1e7e34;
}

.action-btn.more {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    max-width: 60px;
    flex: 0 0 60px;
}

.action-btn.more:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Overflow Menu Styles */
.session-overflow-menu {
    position: relative;
    display: inline-block;
}

.overflow-menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    z-index: 1000;
    overflow: hidden;
}

.overflow-menu-content.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

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

.overflow-menu-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.overflow-menu-item:hover {
    background-color: #f8f9fa;
}

.overflow-menu-item.danger {
    color: #dc3545;
}

.overflow-menu-item.danger:hover {
    background-color: #f8d7da;
}

/* Empty State */
.session-list-empty {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    font-size: 16px;
}

.session-list-empty::before {
    content: "📁";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Loading State */
.session-list-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.session-list-loading::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Modal close button hover effects */
#download-modal-close:hover,
#close-chart:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    transform: scale(1.1);
}

/* Chart modal fullscreen on mobile */
@media (max-width: 767px) {
    #chart-modal .modal-content {
        margin: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        max-width: none !important;
        border-radius: 0 !important;
        border: none !important;
        padding: 10px !important;
        padding-top: calc(50px + env(safe-area-inset-top)) !important;
        padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    #chart-modal #close-chart {
        top: calc(10px + env(safe-area-inset-top)) !important;
        right: 10px !important;
    }
    
    #chart-modal canvas {
        max-height: calc(100vh - 80px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    }
}

/* Pull to Refresh Styles */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pull-to-refresh.visible {
    transform: translateY(env(safe-area-inset-top));
}

.pull-to-refresh.refreshing {
    transform: translateY(env(safe-area-inset-top));
}

.pull-to-refresh-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.pull-to-refresh-text {
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}

/* Ensure body can be pulled */
body.pulling {
    overflow-y: hidden;
}

/* Weather Display Styles */
.weather-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.weather-current {
    margin-bottom: 25px;
}

.weather-current h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.current-weather {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weather-icon {
    font-size: 48px;
    line-height: 1;
}

.weather-temp {
    display: flex;
    flex-direction: column;
}

.temp-value {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.temp-feels {
    font-size: 14px;
    color: #6c757d;
    margin-top: 2px;
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.weather-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

.weather-forecast {
    margin-bottom: 25px;
}

.weather-forecast h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

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

.forecast-day {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.forecast-date {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 8px;
}

.forecast-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.forecast-temp {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.temp-high {
    font-weight: 600;
    color: #dc3545;
}

.temp-low {
    font-weight: 600;
    color: #0d6efd;
}

.forecast-details {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
}

.weather-hourly {
    margin-bottom: 15px;
}

.weather-hourly h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.hourly-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #adb5bd #f8f9fa;
}

.hourly-scroll::-webkit-scrollbar {
    height: 6px;
}

.hourly-scroll::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.hourly-scroll::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 3px;
}

.hourly-item {
    flex-shrink: 0;
    text-align: center;
    padding: 12px 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    min-width: 60px;
}

.hourly-time {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 4px;
}

.hourly-icon {
    font-size: 18px;
    margin-bottom: 4px;
}

.hourly-temp {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
}

.hourly-wind {
    font-size: 10px;
    color: #6c757d;
    margin-bottom: 2px;
}

.hourly-pop {
    font-size: 10px;
    color: #6c757d;
}

.weather-no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* Responsive adjustments for weather display */
@media (max-width: 480px) {
    .weather-details {
        padding: 15px;
        margin: 10px 0;
    }
    
    .weather-main {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .weather-icon {
        font-size: 36px;
    }
    
    .temp-value {
        font-size: 28px;
    }
    
    .weather-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .forecast-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .forecast-day {
        padding: 10px;
    }
    
    .hourly-item {
        min-width: 50px;
        padding: 8px 6px;
    }
} 