/**
 * Registration Complete page styles.
 * Slug: registration-complete
 */

.osm-complete-hero {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/*
 * Force centering on inherited elements from Register page CSS.
 * .osm-eyebrow, .osm-h1, .osm-lead may be left-aligned globally.
 */
.osm-complete-hero .osm-eyebrow,
.osm-complete-hero .osm-h1,
.osm-complete-hero .osm-lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.osm-complete-hero .osm-eyebrow {
    display: inline-flex !important;
    margin-bottom: 20px !important;
}

.osm-complete-hero .osm-h1 {
    margin-top: 0 !important;
}

.osm-complete-hero .osm-lead {
    max-width: 520px;
}

/*
 * Check badge — block-level so it forces its own line (no more
 * inline neighbors like the eyebrow pill).
 */
.osm-check-badge {
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.22), rgba(52, 211, 153, 0.05));
    border: 1px solid rgba(52, 211, 153, 0.45);
    margin: 0 auto 28px;
    color: #34d399;
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05), 0 0 50px rgba(52, 211, 153, 0.14);
}

.osm-check-badge svg {
    width: 34px;
    height: 34px;
}

/* Timeline block — text-align left inside for readability */
.osm-timeline {
    margin: 48px auto 0;
    padding: 26px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    text-align: left;
    max-width: 560px;
}

.osm-timeline-title {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 18px;
    font-weight: 600;
    text-align: left !important;
}

.osm-timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.osm-timeline-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.osm-timeline-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(102, 155, 188, 0.14);
    color: #a4c5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.osm-timeline-list strong {
    color: #fff;
    font-weight: 600;
}

/* Actions — centered */
.osm-complete-actions {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/*
 * Buttons — high specificity to override Ohio's default anchor styles.
 */
.osm-complete-hero a.osm-complete-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.osm-complete-hero a.osm-complete-btn.osm-complete-btn--primary {
    background-color: #669bbc !important;
    color: #0e0e10 !important;
    border-color: #669bbc !important;
}

.osm-complete-hero a.osm-complete-btn.osm-complete-btn--primary:hover,
.osm-complete-hero a.osm-complete-btn.osm-complete-btn--primary:focus {
    background-color: #7cb0d1 !important;
    border-color: #7cb0d1 !important;
    color: #0e0e10 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(102, 155, 188, 0.22);
}

.osm-complete-hero a.osm-complete-btn.osm-complete-btn--ghost {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

.osm-complete-hero a.osm-complete-btn.osm-complete-btn--ghost:hover,
.osm-complete-hero a.osm-complete-btn.osm-complete-btn--ghost:focus {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.osm-complete-btn__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.osm-complete-hero a.osm-complete-btn:hover .osm-complete-btn__arrow {
    transform: translateX(4px);
}
