.export-btn {
    background-color: #4CAF50;
    margin-top: 10px;
}

.export-btn:hover {
    background-color: #3e8e41;
}

.date-section-title {
    margin-top: 20px;
    font-size: 18px;
    color: var(--primary-color);
}

.json-input-section {
    margin-top: 15px;
}.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-group button {
    margin-top: 0;
}

#backButton {
    flex: 1;
}.date-selector {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.date-field {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.date-input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.export-btn {
    background-color: #4CAF50;
    margin-top: 10px;
}

.export-btn:hover {
    background-color: #3e8e41;
}:root {
    --primary-color: #3366cc;
    --accent-color: #ff9900;
    --background-color: #f5f7fa;
    --card-color: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 16px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 8px;
}

header {
    text-align: center;
    margin-bottom: 16px;
}

h1 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.card {
    background-color: var(--card-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-bottom: 24px;
}

.steps {
    margin-bottom: 20px;
}

.step {
    display: flex;
    margin-bottom: 16px;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    margin-top: 12px;
    transition: background-color 0.3s;
    font-size: 16px;
}

button:hover {
    background-color: #2855aa;
}

button:active {
    background-color: #1f4488;
}

textarea {
    width: 100%;
    height: 150px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    resize: vertical;
    margin-top: 8px;
}

.hidden {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
}

th, td {
    padding: 8px 4px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
}

/* Make specific columns narrower to fit iPhone */
th:nth-child(1), td:nth-child(1) {
    width: 15%;
}

th:nth-child(2), td:nth-child(2) {
    width: 22%;
}

th:nth-child(3), td:nth-child(3),
th:nth-child(4), td:nth-child(4) {
    width: 18%;
}

th:nth-child(5), td:nth-child(5) {
    width: 27%;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.disclaimer {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 24px;
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.url-display {
    font-family: monospace;
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    word-break: break-all;
    margin-top: 8px;
}

.date-display {
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 4px;
    margin-top: 12px;
    text-align: center;
    font-weight: bold;
}

.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid var(--primary-color);
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

.error-message {
    color: #d9534f;
    background-color: #f9f2f2;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid #d9534f;
}

.success-message {
    color: #5cb85c;
    background-color: #f2f9f2;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    border-left: 4px solid #5cb85c;
}

.day-column {
    font-weight: 600;
}

.highlight-today {
    background-color: rgba(var(--primary-color-rgb), 0.1) !important;
}

:root {
    --primary-color-rgb: 51, 102, 204;
}

/* Improve mobile compatibility */
@media screen and (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    .step {
        margin-bottom: 10px;
    }
    
    .step-content {
        font-size: 14px;
    }
    
    .url-display {
        font-size: 12px;
        padding: 6px;
        word-break: break-all;
    }
    
    textarea {
        height: 120px;
    }
    
    th, td {
        padding: 6px 3px;
        font-size: 0.8rem;
    }
    
    /* Force multiline in date columns for better readability */
    td:nth-child(2) {
        white-space: pre-line;
        line-height: 1.2;
    }
    
    /* Last updated column is less important on mobile */
    th:nth-child(6), td:nth-child(6) {
        display: none;
    }
}