/* Styles for `ribbon_detail.html`, loaded after `app.css` so the shared tokens and
 * components are already in scope. Rules written the same way in three or
 * more pages belong in `app.css` instead: `tests/test_shared_styles.py`
 * fails when one is copied that far.
 */
.ribbon-hero {
    background: #12151b;
    border-bottom: 1px solid #252a35;
    padding: 32px 24px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.ribbon-image {
    display: block;
    width: 100%;
    max-width: 720px;
    border-radius: 2px;
    margin-bottom: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.ribbon-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d6d9e0;
    margin: 0 0 6px;
}
.ribbon-hero .subtitle {
    font-size: 1rem;
    color: #9aa2af;
    margin: 0 0 12px;
}
.ribbon-hero .desc {
    color: #aeb5c1;
    line-height: 1.6;
    max-width: 720px;
}
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    font-size: .85rem;
    color: #6b7280;
}
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 2px;
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid #252a35;
}
.section {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 24px;
}
.section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4a54a;
    margin: 0 0 16px;
    border-bottom: 1px solid #252a35;
    padding-bottom: 8px;
}

.recipients-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.recipients-table th {
    text-align: left;
    padding: 8px 10px;
    color: #6b7280;
    font-weight: 600;
    border-bottom: 1px solid #252a35;
    background: #12151b;
}
.recipients-table td {
    padding: 10px;
    border-bottom: 1px solid #1e2330;
    color: #d6d9e0;
    vertical-align: middle;
}
.recipients-table tr:hover td { background: #181c24; }.recipient-name-link {
    color: #d4a54a;
    text-decoration: none;
}
.recipient-name-link:hover { text-decoration: underline; }

.nation-link {
    color: #aeb5c1;
    text-decoration: none;
    font-size: .82rem;
}
.nation-link:hover { color: #d6d9e0; }

.empty-recipients {
    color: #6b7280;
    font-style: italic;
    padding: 24px 0;
}body.light-mode .ribbon-hero {
    background: #ffffff;
    border-bottom-color: #d7dce6;
}
body.light-mode .ribbon-hero h1 { color: #1f2937; }
body.light-mode .ribbon-hero .subtitle { color: #6b7280; }
body.light-mode .ribbon-hero .desc { color: #374151; }
body.light-mode .meta-row { color: #6b7280; }
body.light-mode .badge { border-color: #d7dce6; }body.light-mode .section h2 {
    color: #4338ca;
    border-bottom-color: #d7dce6;
}
body.light-mode .recipients-table th {
    color: #6b7280;
    border-bottom-color: #d7dce6;
    background: #f8faff;
}
body.light-mode .recipients-table td {
    color: #1f2937;
    border-bottom-color: #e5e7eb;
}
body.light-mode .recipients-table tr:hover td {
    background: #f8faff;
}body.light-mode .recipient-name-link {
    color: #4338ca;
}
body.light-mode .nation-link {
    color: #4b5563;
}
body.light-mode .nation-link:hover {
    color: #1f2937;
}
