﻿/* ==========================================================================
   1. GLOBAL SHARED DEFAULTS
   ========================================================================== */
body {
    font-size: 14px;
}

/* Base Headings & Titles */
.mainTitleH1 {
    font-size: 48px;
    text-transform: uppercase;
    font-family: 'ABCRom Compressed Black', Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
    text-align: center;
}

/* Base Headings & Titles */
.registrationPage .mainTitleH1, .checkoutPage .mainTitleH1 {
    font-size: 48px;
    text-transform: uppercase;
    font-family: 'ABCRom Compressed Black', Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
    text-align: center;
}

/* Base Utility Classes */
.message {
    display: block;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    color: #BA0C2F;
    margin-bottom: 15px;
}

.active {
    background-color: initial !important;
}

.iconRed {
    color: #BA0C2F;
}

/* ==========================================================================
   2. SITE LAYOUT (Two-Column Core)
   ========================================================================== */
.layout-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.left-col {
    flex: 1;
    min-width: 0;
}

.right-col {
    width: 360px;
    flex-shrink: 0;
}

/* ==========================================================================
   3. PROGRESS TRACKER
   ========================================================================== */
.progress-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: #757575;
    font-size: 12px;
    margin-top: 32px;
}

    .progress-tracker span {
        display: flex;
        align-items: center;
    }

    .progress-tracker .completed {
        color: #9ca3af;
    }

    .progress-tracker .active {
        color: #111827;
    }

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #9ca3af;
}

.completed .step-num,
.active .step-num {
    background-color: #FF2000;
    color: #fff;
}

.progress-line {
    width: 40px;
    height: 1px;
    margin: 0 15px;
    background-color: #e5e7eb;
}

/* ==========================================================================
   4. DYNAMIC FORM SYSTEM & FLEX GRID
   ========================================================================== */
.form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.registrationPage .form-section {
    margin-bottom: 32px;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 23px;
    font-size: 14px;
}

.form-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 20px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
}

    .form-section-header i {
        margin-right: 10px;
        color: #BA0C2F;
        font-size: 20px;
    }

.form-section-subheader {
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-size: 15px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.divAttendeeHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Grid Layout Rows & Groups */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    position: relative; /* Anchor point for input icons */
}

/* Grid Width Framework */
.col-12 {
    flex: 0 0 100%;
}

.col-1 {
    flex: 0 0 calc(8.333% - 18.33px);
}

.col-2 {
    flex: 0 0 calc(50% - 10px);
}

.col-3 {
    flex: 0 0 calc(33.333% - 14px);
}

.col-4 {
    flex: 0 0 calc(25% - 15px);
}

/* Standard Inputs and Labels */
.formlabel {
    display: block;
    margin-bottom: 5px;
    color: #374151;
    font-size: 14px;
}

.form-group label {
    margin-bottom: 5px;
    color: #374151;
    font-size: 14px;
}

.formlabel.requiredfield::after {
    content: " *";
    color: #BA0C2F;
}

.form-control {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}
.registrationPage .form-control {
   
    padding: 12px; /* Added 35px padding-left to make room for the icon */
    font-family: "ABC Rom", Arial, sans-serif;

}

/* ==========================================================================
   5. SHARED BUTTON ACTIONS
   ========================================================================== */
.checkoutPage .btn-primary, .cartXPage .btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #FF2000;
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}
.registrationPage .btn-primary {
    width: 100%;
    margin-top: 10px;
}
.clearBut {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #ccc;
    color: #666;
    border: none;
    border-radius: 4px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.btn-secondary {
    padding: 12px 20px;
    background: #fff;
    color: #BA0C2F;
    border: 1px solid #BA0C2F;
    text-transform: uppercase;
    cursor: pointer;
}
.btnDiffLogin {
    text-decoration: none;
    float: right;
}
.txtLoggedInAs {
    font-size: 14px;
}
/* ==========================================================================
   6. ORDER SUMMARY MODULES & TRUST TILES
   ========================================================================== */
.order-summary-card {
    background-color: #fff;
    position: sticky;
    top: 170px;
}

    .order-summary-card h3 {
        font-family: 'ABCRom Compressed Black', Arial, Helvetica, sans-serif;
        font-size: 36px;
        text-transform: uppercase;
        line-height: 1;
    }

.innerSummaryCard {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.innerCancelPolicyCard, .innerSecureCard {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-size: 10px;
    margin-top: 20px;
}

    .innerCancelPolicyCard h4 {
        font-size: 16px;
    }

.innerSecureCard {
    font-size: 14px;
    color: #757575;
}

.divShield {
    display: inline-block;
    vertical-align: top;
    margin-top: 8px;
    font-size: 18px;
}

.divTxtSecure {
    display: inline-block;
    margin-left: 10px;
    max-width: 90%;
}

.divNeedHelp {
    color: #FF2000;
    margin-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #4b5563;
    font-size: 13px;
}

.total-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    color: #111827;
    font-size: 18px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
}

.trust-box-small {
    margin-top: 20px;
    padding: 15px;
    background-color: #f3f4f6;
    border-radius: 6px;
    text-align: center;
    color: #6b7280;
    font-size: 11px;
}

    .trust-box-small i {
        display: block;
        margin-bottom: 5px;
        color: #9ca3af;
        font-size: 16px;
    }

.trust-box {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 20px;
}

.payment-icons {
    margin-top: 10px;
    font-size: 24px;
    color: #9ca3af;
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* ==========================================================================
   7. TOOLTIPS
   ========================================================================== */
.tooltip {
    position: relative;
    display: inline-block;
}

    .tooltip .tooltiptext {
        position: absolute;
        bottom: 125%;
        left: 50%;
        z-index: 1;
        width: 200px;
        padding: 8px;
        background-color: #333;
        color: #fff;
        border-radius: 4px;
        text-align: center;
        font-size: 11px;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
    }

    .tooltip:hover .tooltiptext {
        opacity: 1;
        visibility: visible;
    }

/* ==========================================================================
   8. SPECIFIC PAGE OVERRIDES (Safely keeping isolated variations)
   ========================================================================== */
.rDivTicketBox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.rTicketIcon {
    background: #f3f4f6;
    border-radius: 4px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #9ca3af;
    flex-shrink: 0;
}


.rEventTitle {
    font-family:"ABCRom Medium", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin-bottom: 3px;
}

.rTicketName {
    font-size: 12px;
    color: #6b7280;
}
.rTicketQuantity {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}
.rTicketPrice {
    font-family: "ABCRom Medium", Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin-bottom: 3px;
}
.rOrderTotal {
    font-family: "ABCRom Medium", Arial, Helvetica, sans-serif;
    color: #FF2000;
}

/* --- REGISTRATION OVERRIDES --- */
.sub-title {
    margin-bottom: 30px;
    text-align: center;
    color: #4b5563;
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto;
}

    .sub-title a {
        color: #BA0C2F;
        text-decoration: none;
        cursor: pointer;
    }

#PnlRegStep1 {
    border: 1px solid #E0E0E0;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 32px 0;
}

.registration-page .layout-container {
    margin-top: 50px;
}

.registration-page .step-num {
    color: #757575;
}

.registration-page .form-section {
    margin-bottom: 32px;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 23px;
    font-size: 14px;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
}

.registration-page .form-section-header i {
    font-size: 18px;
}

.registration-page .form-control {
    padding: 12px;
    font-family: "ABC Rom", Arial, sans-serif;
}

#TxtEmail, #TxtCellPhone, #TxtZipLookup {
    padding: 12px 12px 12px 35px;
}

.form-control::placeholder,
.form-control::-webkit-input-placeholder {
    font-family: "ABC Rom", Arial, sans-serif;
    color: #d1d5db;
}

.email-group::before, .cell-group::before, .zip-group::before {
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', 'Font Awesome 5 Free' !important;
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 40px;
    color: #d1d5db;
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.email-group::before {
    content: "\f0e0";
}

.cell-group::before {
    content: "\f095";
}

.zip-group::before {
    content: "\f3c5";
}

.divAcctBenefits {
    background-color: #F9FAFB;
    padding: 20px;
    font-size: 14px;
    border-radius: 8px;
    margin: 25px 0 0 0;
}

    .divAcctBenefits span {
        font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    }

    .divAcctBenefits div {
        margin-top: 10px;
    }

#PnlAgree {
    margin-bottom: 20px;
}

.registration-page .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* --- CART OVERRIDES --- */
.cart-item-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    position: relative;
}

.cart-item-img-placeholder {
    width: 100px;
    height: 100px;
    background-color: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.iconDelete {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #9ca3af;
    cursor: pointer;
    font-size: 20px;
}

.divBackArea {
    background-color: #F3F3F3;
    padding: 15px;
    grid-column: 1 / -1;
    margin: 0 -20px -20px -20px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    font-size: 16px;
    
} 

    .divBackArea a {
        color: #FF2000;
    }
.cart-item-title {
    font-family: 'ABCRom Compressed Black', Arial, Helvetica, sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    float: left;
    max-width: 90%;
    line-height: 1;
}

.cart-item-meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
    clear: both;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price-ext {
    text-align: right;
}

.cart-page .summary-row {
    font-size: 14px;
}

.cart-page .total-row {
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
}

.promo-header {
    font-size: 14px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    color: #FF2000;
    margin-bottom: 16px;
}

.btn-promo {
    width: 100%;
    border: 1px solid #FF2000 !important;
    padding: 14px !important;
    cursor: pointer;
}

.btn-checkout {
    width: 100%;
    padding: 14px !important;
    margin-top: 10px;
}

.cancel-policy {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    font-size: 12px;
    color: #4b5563;
    margin-top: 20px;
}

.global-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cart-page .btn-secondary {
    border: none;
    display: flex;
    align-items: center;
    padding: 14px !important;
    gap: 5px;
}

.cartXPage .mainTitleH1 {
    font-family: 'ABCRom Compressed Black', Arial, Helvetica, sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    margin-top: 0;
    text-align: left;
}

.cart-page .mainTitleH1 {
    font-size: 28px;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: left;
}

.txtPromoCode {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
    border: 1px solid #E0E0E0;
}

.cart-page .iconDelete {
    float: right;
    color: #BDBDBD;
}

.txtQuantity {
    font-size: 14px;
    color: #757575;
    font-family: 'ABCRom Regular', Arial, Helvetica, sans-serif;
}

.txtDollars {
    font-size: 18px;
    color: #000;
}

.txtPoints {
    font-size: 14px;
    color: #757575;
}

.divAcctRequired {
    text-align: left;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #BA0C2F;
}

.PnlEnterCode {
    margin-top: 20px;
    padding-top: 15px;
}

.divPromoContainer {
    background-color: #F3F3F3;
    display: block;
    padding: 10px;
    margin: 0 0 20px 0;
    border-radius: 8px;
}

.divPromoMessage {
    width: 70%;
    float: left;
}

.promoButton {
    float: right;
}

#PnlSlider .mainTitleH1 {
    margin-top: 20px;
}

.txtRewardCardTotal {
    display: flex;
    justify-content: space-between;
    font-family: 'ABCRom Medium', Arial, Helvetica, sans-serif;
}
.divPointsOutline {
    padding: 15px;
    font-size: 14px;
    color: #000;
    background-color: #f3f3f3;
    border-radius: 6px;
    margin-top: 15px;
}
@media (max-width: 768px) {
    /* 1. Ensure the layout container drops to a clean stacked block */
    .layout-container {
        flex-direction: column !important;
        gap: 20px;
        padding: 0 15px; /* Keeps elements safely away from edge of glass */
        box-sizing: border-box;
    }

    /* 2. Overrule desktop column structures cleanly */
    .left-col,
    .right-col {
        width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }

    /* 3. Force flex form rows to wrap column-style natively */
    .form-row {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 4. Ensure all column variations break to full width safely */
    .col-1, .col-2, .col-3, .col-4, .col-12 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 5. Clean up progress tracker overflow */
    .progress-tracker {
        flex-wrap: wrap; /* Allows steps to drop cleanly if viewport is tight */
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .progress-line {
        width: 20px; /* Reduce static line width on mobile */
        margin: 0 5px;
    }
    .divAttendeeHeader {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
    }
    .btnDiffLogin {
        text-decoration: none;
        float: initial;
        margin-top:10px;
    }
    .txtLoggedInAs {
       font-size:14px;
       display:block;
    }
    /* Extra compression for small viewports to hide labels if needed */
    @media (max-width: 480px) {
        .progress-tracker span {
            font-size: 11px;
        }

        .mainTitleH1 {
            font-size: 32px !important; /* Prevents long titles from pushing out */
        }
    }

    /* 6. Cart Specific Mobile Flow */
    .cart-page .cart-item-card {
        flex-direction: column;
    }

    .cart-page .cart-item-img-placeholder {
        width: 100%;
        height: 150px;
    }
}
