/* 
 * Theme: Default
 * Description: A clean, print-friendly theme with a GitHub-like aesthetic.
 */
:root {
    --bg-color: #f6f8fa;
    /* Soft light grey for app background */
    --card-bg: #ffffff;
    /* White for cards (pages) */
    --text-primary: #24292f;
    /* Dark text */
    --text-secondary: #57606a;
    /* Grey text */
    --accent: #58a6ff;
    /* Keep blue accent (Github style) */
    --accent-hover: #0969da;
    --border-color: #d0d7de;
    /* Light grey border */
    --day-hover-bg: #eaeef2;
    --today-bg: #ddf4ff;
    /* Light blue highlight */
    --today-text: #0969da;

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Body fixed. Theme is component-based. */
.app-container {
    color: var(--text-primary);
    font-family: var(--font-family);
}

.app-header {
    background-color: var(--card-bg);
    border: none;
    box-shadow: 0 0 0 1px var(--border-color);
    border-radius: 12px;
}

input,
select {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

/* Toggle Switch Styles */
.toggle-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Switch handled by UI.css */
}

.month-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.month-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
}

.weekday-header {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding-bottom: 4px;
}

.day {
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: default;
}

@media print {
    :root {
        --bg-color: #ffffff;
        --card-bg: #ffffff;
        --text-primary: #000000;
        --text-secondary: #555555;
        --accent: #000000;
        --border-color: #dddddd;
        --day-hover-bg: #ffffff;
        --today-bg: #dddddd;
        --today-text: #000000;
    }

    body {
        background-color: white;
        color: black;
    }

    .month-card {
        border: 1px solid #ccc;
    }
}