body {
    background-color: #ccdcff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.logo {
    width: 48px;
    height: 48px;
}

@media (min-width: 768px) {
    .logo {
        width: 64px;
        height: 64px;
    }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #09278c;
    font-size: 3.5em;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}

.header-decoration {
    text-align: center;
    margin: 20px 0;
    color: #e7bc24;
    font-size: 24px;
}

.tagline {
    color: #09278c;
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 40px;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    margin-bottom: 20px;
}

.section-title {
    font-weight: bold;
    margin-top: 25px;
    color: #09278c;
    font-size: 1.3em;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 12px;
    border: 2px solid #09278c;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

button {
    background-color: #e7bc24;
    color: #09278c;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #d4ab1f;
}

#actor-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

#actor-list li {
    cursor: pointer;
    padding: 12px;
    margin: 10px 0;
    background-color: #f4f4f4;
    border-radius: 8px;
    text-align: center;
    color: #09278c;
    font-weight: bold;
    transition: background-color 0.2s;
}

#actor-list li:hover {
    background-color: #e7bc24;
}

#production-name {
    color: #09278c;
    text-align: center;
}

#production-image {
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#calendar-integration, #feedback {
    text-align: center;
    color: #09278c;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

#calendar-integration ol {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    color: #09278c;
}

a {
    color: #09278c;
    text-decoration: none;
    border-bottom: 1px solid #e7bc24;
    transition: all 0.2s ease;
}

a:hover {
    color: #e7bc24;
    border-bottom: 1px solid #09278c;
}

/* Activity Log specific styles */
.activity-container {
    max-width: 1800px !important;
    width: 95% !important;
}

.activity-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.activity-controls input,
.activity-controls select {
    width: auto;
    margin-bottom: 0;
}

/* ── Dashboard Summary ── */
.dashboard-section {
    margin-top: 24px;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.stat-card {
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.stat-card-primary { background: #e8eeff; }
.stat-card-success { background: #e4f8ec; }
.stat-card-info    { background: #eaf6ff; }
.stat-card-warning { background: #fff8e1; }
.stat-number {
    font-size: 2.4em;
    font-weight: 800;
    color: #09278c;
    line-height: 1.1;
}
.stat-label {
    font-size: .85em;
    color: #555;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Per-production block */
.production-block {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border-left: 4px solid #09278c;
}
.production-block h3 {
    margin: 0 0 6px 0;
    color: #09278c;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3em;
}
.production-block .prod-subtitle {
    color: #666;
    font-size: .9em;
    margin-bottom: 16px;
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}
@media (max-width: 700px) {
    .charts-row { grid-template-columns: 1fr; }
}
.chart-box {
    background: white;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chart-box h4 {
    margin: 0 0 10px 0;
    color: #09278c;
    font-size: .95em;
    text-align: center;
}
.chart-box canvas {
    max-height: 220px;
}

/* "who hasn't downloaded" list */
.missing-list {
    margin-top: 12px;
}
.missing-list summary {
    cursor: pointer;
    color: #09278c;
    font-weight: 600;
    font-size: .9em;
}
.missing-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.missing-list li {
    background: #ffe0e0;
    color: #a00;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .82em;
    font-weight: 600;
}
