/* ================================================================
   CONNECT — EVENT REGISTRATION INFO
   Referenced by ConnectController::eventRegInfo. Matches the connect
   palette: #0d1b2a page, #162844 panels, #69be28 accent.
   ================================================================ */

.cri-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 24px 80px;
    color: #fff;
}

/* base.css colours body copy dark blue, which is unreadable on the connect
   background - every text element here sets its own colour */
.cri-wrap,
.cri-wrap p,
.cri-wrap span,
.cri-wrap dd,
.cri-wrap address {
    color: rgba(255,255,255,0.85);
}

.cri-back {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 0.86em;
    font-weight: 700;
    color: #69be28;
    text-decoration: none;
}
.cri-back:hover { text-decoration: underline; color: #69be28; }
.cri-back .fas { margin-right: 6px; }

/* ── hero ────────────────────────────────────────────────────────── */
.cri-hero {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    background: #162844;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 26px;
    margin-bottom: 22px;
}
.cri-hero-art {
    width: 190px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1b2a;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cri-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cri-hero-art-empty {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}
.cri-hero-copy { flex: 1; min-width: 0; }

.cri-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.cri-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #69be28;
    background: rgba(105,190,40,0.12);
    border-radius: 20px;
    padding: 4px 12px;
}

.cri-title {
    font-size: 1.9em;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}
.cri-org {
    font-size: 0.95em;
    color: rgba(255,255,255,0.55);
    margin: 0 0 18px;
}

.cri-facts {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}
.cri-fact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92em;
}
.cri-fact .fas {
    color: #69be28;
    width: 15px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 13px;
}
.cri-fact em {
    font-style: normal;
    color: rgba(255,255,255,0.45);
}

/* ── buttons ─────────────────────────────────────────────────────── */
.cri-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
a.cri-btn, span.cri-btn {
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 0.88em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
a.cri-btn-primary {
    background: #69be28;
    border: 1px solid #69be28;
    color: #0d1b2a;
}
a.cri-btn-primary:hover {
    background: #5aa621;
    border-color: #5aa621;
    color: #0d1b2a;
    text-decoration: none;
}
a.cri-btn-ghost {
    background: none;
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.85);
}
a.cri-btn-ghost:hover {
    border-color: rgba(105,190,40,0.6);
    color: #69be28;
    text-decoration: none;
}
/* shown before the registration window opens: present, but not clickable */
span.cri-btn-disabled {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.4);
    cursor: not-allowed;
}

.cri-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 0.84em;
    color: rgba(255,255,255,0.5);
}
.cri-note .fas {
    color: #69be28;
    font-size: 12px;
}

/* ── detail panels ───────────────────────────────────────────────── */
.cri-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.cri-panel {
    background: #162844;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 22px 24px;
}
.cri-panel-wide { grid-column: 1 / -1; }

.cri-panel h2 {
    font-size: 0.78em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #69be28;
    margin: 0 0 14px;
}
.cri-body {
    font-size: 0.9em;
    line-height: 1.65;
    font-style: normal;
}

.cri-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 18px;
    margin: 0;
    font-size: 0.9em;
}
.cri-dl dt {
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    white-space: nowrap;
}
.cri-dl dd {
    margin: 0;
    color: #fff;
}
.cri-sub {
    display: block;
    font-size: 0.82em;
    color: rgba(255,255,255,0.4);
}

.cri-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cri-chip {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 4px 10px;
}

a.cri-link {
    color: #69be28;
    text-decoration: none;
    font-weight: 600;
}
a.cri-link:hover { text-decoration: underline; color: #69be28; }
a.cri-link .fas { font-size: 10px; margin-left: 3px; }

@media (max-width: 780px) {
    .cri-hero        { flex-direction: column; }
    .cri-hero-art    { width: 100%; height: 170px; }
    .cri-panels      { grid-template-columns: 1fr; }
    .cri-title       { font-size: 1.5em; }
    .cri-wrap        { padding: 24px 16px 60px; }
    a.cri-btn, span.cri-btn { flex: 1; }
}

/* fee breakdown, one block per registration type */
.cri-feebox {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.cri-feebox:first-of-type { margin-top: 14px; }
.cri-feebox h3 {
    font-size: 0.8em;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0 0 10px;
}
.cri-total-label { color: #fff !important; font-weight: 800 !important; }
.cri-total {
    color: #69be28 !important;
    font-weight: 800;
    font-size: 1.05em;
}
