/* =============================================
   Register Success Page - CSS
   Banner: Figma Frame 39:1885 — 1440×495px
   ============================================= */

body.register_success_page {
    overflow-x: hidden;
}

/* --- Banner Wrapper: true full-width like hero sections in other pages --- */
.rs-banner-wrapper {
    position: relative;
    width: 100%;
    height: 495px;
    overflow: hidden;
    background: #000;
}

/* --- Layer 1: Background photo fills the full wrapper --- */
.rs-banner__hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rs-banner__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* --- Layer 2: IMG_7378 rotated overlay
     Figma: within 1440×495 canvas,
     the overlay rect is x=-76.26, y=-494.43, w=1632.54, h=1625.61
     As percentages of 1440×495:
     left  = -76.26/1440  = -5.295%
     top   = -494.43/495  = -99.88%
     width = 1632.54/1440 = 113.37%
     height= 1625.61/495  = 328.41%
--- */
.rs-banner__overlay {
    position: absolute;
    left: -5.295%;
    top: -99.88%;
    width: 113.37%;
    height: 328.41%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-banner__overlay-inner {
    width: 100%;
    height: 100%;
    transform: rotate(-1.98deg);
    transform-origin: center center;
    position: relative;
}

.rs-banner__overlay-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Layer 3: Scroll down (centered horizontally, near bottom) --- */
/* In Figma 1440×495: text frame x=678, center = 678+42 = 720 → 720/1440 = 50% */
/* y = 443 → 443/495 = 89.5% */
.rs-banner__scroll {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 89.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.rs-banner__scroll-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFEF3;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

.rs-banner__scroll-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-top: 0;
}

/* =============================================
   Success Content Section (Figma node 39:1953)
   ============================================= */

/* =============================================
   Success Content Section (TASU+ Design System)
   Typography: Quicksand (Headings) + Montserrat (Body & UI)
   ============================================= */

.rs-content {
    width: 100%;
    background: #F7F4EC;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 20px 88px;
    box-sizing: border-box;
}

/* Title: Headings use Quicksand 600, color #1C2A45 */
.rs-content__title {
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.25;
    color: #1C2A45;
    text-align: center;
    margin: 0 0 18px 0;
    max-width: 900px;
    word-break: break-word;
}

/* Body text: Montserrat 400, color #4A4A41 */
.rs-content__desc {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A41;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 16px;
}

.rs-content__desc strong {
    color: #1C2A45;
    font-weight: 600;
}

/* "Back to Home / Events" link */
.rs-content__link {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8E9A56;
    text-decoration: none;
    display: inline-block;
    margin-top: 36px;
    transition: color 0.2s ease;
}

.rs-content__link:hover {
    color: #7A8647;
    text-decoration: none;
}

/* =============================================
   Physical Pass / Event Ticket Card Component
   Mirrored exactly from page_event_ticket.twig
   ============================================= */

.event-ticket-card {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin: 32px auto 24px;
    background: #FBFAF6;
    border: 1px solid #E0DACE;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(18, 35, 66, 0.06);
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

.event-ticket-card__header {
    padding: 28px 28px 20px;
    text-align: center;
}

.ticket-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ticket-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #EEF0E4;
    color: #556B2F;
}
.ticket-status-pill::before {
    content: "●";
    font-size: 8px;
    color: #556B2F;
}

.ticket-code-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #FFFFFF;
    color: #1C2A45;
    border: 1px solid #E0DACE;
}
.ticket-code-pill strong {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #8E9A56;
}

.ticket-card-title {
    font-family: "Quicksand", sans-serif !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
    color: #1C2A45;
    margin: 0 0 14px 0;
}

.ticket-meta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 13.5px;
    color: #6E6E63;
}

.ticket-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ticket-meta-item svg {
    color: #8E9A56;
    flex-shrink: 0;
}

/* ── Perforated / Notch Divider ── */
.ticket-perforation {
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0;
}

.ticket-notch {
    width: 20px;
    height: 20px;
    background: #F7F4EC;
    border: 1px solid #E0DACE;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.ticket-notch--left {
    left: -11px;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
}
.ticket-notch--right {
    right: -11px;
    clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%);
}

.ticket-dashed-line {
    width: 100%;
    height: 1px;
    border-top: 1.5px dashed #E0DACE;
    margin: 0 16px;
}

/* ── Ticket Body: Attendee & QR ── */
.event-ticket-card__body {
    padding: 20px 28px 28px;
    text-align: center;
}

.ticket-attendee-box {
    margin-bottom: 20px;
}

.ticket-attendee-label {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8E9A56;
    margin-bottom: 4px;
}

.ticket-attendee-name {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1C2A45;
    margin-bottom: 2px;
}

.ticket-attendee-email {
    font-family: "Montserrat", sans-serif;
    font-size: 13.5px;
    color: #8E8A80;
}

.ticket-qr-wrapper {
    display: inline-block;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E0DACE;
    border-radius: 12px;
    margin: 0 auto 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ticket-qr-wrapper svg {
    display: block;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.ticket-qr-hint {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #6E6E63;
    line-height: 1.5;
    margin: 0 0 24px;
}

/* ── Download Actions ── */
.ticket-actions-row {
    display: flex;
    gap: 12px;
}

.btn-ticket-download {
    flex: 1;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.btn-ticket-download--primary {
    background: #8E9A56;
    color: #FFFFFF !important;
    border: 1px solid #8E9A56;
}
.btn-ticket-download--primary:hover {
    background: #7A8647;
    border-color: #7A8647;
}

.btn-ticket-download--secondary {
    background: #FFFFFF;
    color: #1C2A45 !important;
    border: 1px solid #DCE3EC;
}
.btn-ticket-download--secondary:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.ticket-view-full-row {
    margin-top: 12px;
}

.btn-ticket-view-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 6px;
    background: transparent;
    color: #1C2A45 !important;
    border: 1px solid #DCE3EC;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.btn-ticket-view-full:hover {
    background: #EEF0E4;
    border-color: #8E9A56;
    color: #556B2F !important;
}

@media (max-width: 480px) {
    .ticket-actions-row {
        flex-direction: column;
    }
    .event-ticket-card__header,
    .event-ticket-card__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}