/* Dark theme for convert.html */

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #eee;
}

a {
    color: #ffd700;
}

h1 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

/* Input section */
.input-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.input-card {
    flex: 1;
    min-width: 280px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
}

.input-card h2 {
    margin-top: 0;
    font-size: 1.1em;
    color: #ffd700;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #1a1a2e;
    color: #fff;
    font-size: 1em;
}

input:focus, select:focus {
    outline: none;
    border-color: #ffd700;
}

/* Converter-specific button style */
.input-card button {
    width: 100%;
    padding: 12px;
    background: #ffd700;
    color: #1a1a2e;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.input-card button:hover {
    background: #ffed4a;
}

/* Results section */
.results {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.result-card {
    flex: 1;
    min-width: 280px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #333;
}

.result-card h3 {
    margin-top: 0;
    color: #ffd700;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.result-card.gregorian {
    border-left: 4px solid #4ecdc4;
}

.result-card.lunisolar {
    border-left: 4px solid #ff6b6b;
}

.date-numeric {
    font-family: 'Courier New', monospace;
    font-size: 1.4em;
    color: #fff;
    margin: 15px 0;
}

.date-full {
    font-size: 1.1em;
    color: #ccc;
}

/* Day of year display */
.day-of-year {
    text-align: center;
    background: rgba(255,215,0,0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.day-of-year .number {
    font-size: 2em;
    font-weight: bold;
    color: #ffd700;
}

.day-of-year .label {
    color: #aaa;
    font-size: 0.9em;
}

/* Error display */
.error {
    background: rgba(255,0,0,0.2);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.hidden {
    display: none;
}

/* Dark theme nav adjustments - override common.css link color inside nav */
nav .links a {
    color: #eee;
}
