/* =========================================================
   PRO HAIR FORUM BANGKOK 2026 - Custom Styles
   Content/custom-Loreal2026.css
   NOTE: Plain classes only - no var(--property) (not read by .NET)
   Design language: clean, white, mac-ish (soft cards, system font,
   pill buttons, generous whitespace).
   ========================================================= */

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

p {
    line-height: 1.55;
}

a {
    color: #e3001b;
    text-decoration: none;
}

a:hover {
    color: #b3000f;
}

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 576px) {
    .container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

.page-section {
    padding-top: 32px;
    padding-bottom: 56px;
}

@media (min-width: 768px) {
    .page-section {
        padding-top: 48px;
        padding-bottom: 72px;
    }
}

/* Main white "mac-ish" content card - stretches naturally as content grows */
.content-card {
    background-color: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    padding: 24px 18px;
}

@media (min-width: 576px) {
    .content-card {
        padding: 36px 32px;
    }
}

@media (min-width: 992px) {
    .content-card {
        padding: 48px;
    }
}

/* ---------------------------------------------------------
   Navigation Bar
   --------------------------------------------------------- */
.site-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    padding-top: 16px;
    padding-bottom: 16px;
}

.site-navbar .navbar-brand-logo {
    height: 38px;
    width: auto;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e8e8ed;
    padding-top: 32px;
    padding-bottom: 32px;
    margin-top: 56px;
}

.site-footer .footer-logo {
    height: 26px;
    width: auto;
    margin-bottom: 12px;
}

.site-footer p {
    font-size: 13px;
    color: #6e6e73;
    margin-bottom: 4px;
}

/* ---------------------------------------------------------
   Hero / Page Header
   --------------------------------------------------------- */
.event-hero {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8ed;
    padding-top: 40px;
    padding-bottom: 32px;
    text-align: center;
}

.event-hero .event-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1d1d1f;
}

@media (min-width: 576px) {
    .event-hero .event-name {
        font-size: 32px;
    }
}

.event-hero .event-dates {
    display: inline-block;
    font-size: 13px;
    color: #ffffff;
    background-color: #e3001b;
    font-weight: 600;
    margin-top: 14px;
    padding: 6px 16px;
    border-radius: 999px;
}

.event-hero .event-venue {
    font-size: 14px;
    color: #6e6e73;
    margin-top: 12px;
}

/* ---------------------------------------------------------
   Registrant Cards (registration form)
   --------------------------------------------------------- */
.registrant-card {
    background-color: #fbfbfd;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 20px 16px;
    margin-bottom: 20px;
    position: relative;
}

@media (min-width: 576px) {
    .registrant-card {
        padding: 24px;
    }
}

.registrant-card .registrant-heading {
    font-size: 13px;
    font-weight: 700;
    color: #e3001b;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-right: 70px;
}

.registrant-card .btn-remove-person {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #ffffff;
    border: 1px solid #d2d2d7;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    line-height: 1.6;
}

.registrant-card .btn-remove-person:hover {
    background-color: #fdecec;
    border-color: #fdecec;
    color: #d70015;
}

.form-label {
    font-weight: 600;
    font-size: 13px;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1px solid #d2d2d7;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: #e3001b;
    box-shadow: 0 0 0 0.18rem rgba(227, 0, 27, 0.12);
}

.form-control::placeholder {
    color: #a1a1a6;
}

/* ---------------------------------------------------------
   Action rows - buttons that stack cleanly on mobile
   --------------------------------------------------------- */
.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.action-row-end {
    justify-content: flex-end;
}

.link-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
}

@media (max-width: 575.98px) {
    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .link-row {
        flex-direction: column;
        gap: 10px;
    }

    .link-row .link-divider {
        display: none;
    }
}

.limit-note {
    font-size: 13px;
    color: #6e6e73;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn-loreal-primary,
.btn-loreal-outline {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 999px;
    text-align: center;
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
}

.btn-loreal-primary {
    background-color: #e3001b;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(227, 0, 27, 0.25);
}

.btn-loreal-primary:hover {
    background-color: #c8001a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(227, 0, 27, 0.28);
}

.btn-loreal-outline {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid transparent;
}

.btn-loreal-outline:hover {
    background-color: #e8e8ed;
    color: #1d1d1f;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .btn-loreal-primary,
    .btn-loreal-outline {
        width: 100%;
    }
}

/* ---------------------------------------------------------
   Responsive Table (Payment Summary + Attendee list)
   Desktop: normal table. Mobile: stacked cards, no side-scroll.
   --------------------------------------------------------- */
.responsive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.responsive-table thead th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6e6e73;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #e8e8ed;
    padding: 0 12px 12px 12px;
    background: none;
}

.responsive-table tbody td {
    font-size: 14px;
    vertical-align: middle;
    padding: 14px 12px;
    border: none;
    border-bottom: 1px solid #f0f0f2;
}

.responsive-table tbody tr:last-child td {
    border-bottom: none;
}

.responsive-table .col-index {
    color: #a1a1a6;
    font-size: 13px;
    width: 32px;
}

@media (max-width: 767.98px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        background-color: #fbfbfd;
        border: 1px solid #e8e8ed;
        border-radius: 14px;
        padding: 6px 16px;
        margin-bottom: 14px;
    }

    .responsive-table tr:last-child {
        margin-bottom: 0;
    }

    .responsive-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: right;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid #f0f0f2;
        gap: 12px;
    }

    .responsive-table td:last-child {
        border-bottom: none;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #6e6e73;
        text-align: left;
        flex-shrink: 0;
    }

    .responsive-table .col-index {
        display: none;
    }
}

/* ---------------------------------------------------------
   Summary Total Box
   --------------------------------------------------------- */
.summary-total-box {
    background-color: #fbfbfd;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 20px;
    text-align: right;
}

.summary-total-box .total-label {
    font-size: 13px;
    color: #6e6e73;
}

.summary-total-box .total-amount {
    font-size: 30px;
    font-weight: 700;
    color: #e3001b;
    letter-spacing: -0.01em;
}

/* ---------------------------------------------------------
   Status Pages (processing / success / failed)
   --------------------------------------------------------- */
.status-page {
    padding-top: 32px;
    padding-bottom: 56px;
}

@media (min-width: 768px) {
    .status-page {
        padding-top: 56px;
        padding-bottom: 72px;
    }
}

.status-page .content-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.status-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 36px;
    color: #ffffff;
}

.status-icon-success {
    background-color: #248a3d;
}

.status-icon-failed {
    background-color: #d70015;
}

.status-icon-processing {
    background-color: #f5f5f7;
    color: #e3001b;
}

.confirmation-box {
    background-color: #fbfbfd;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    padding: 20px;
    margin: 28px auto 0 auto;
    text-align: left;
}

@media (min-width: 576px) {
    .confirmation-box {
        padding: 24px;
    }
}

.confirmation-box .ref-number {
    font-weight: 700;
    color: #e3001b;
}

/* ---------------------------------------------------------
   PayPal Mock Page (external simulated site look)
   --------------------------------------------------------- */
.paypal-mock-page {
    background-color: #f0f1f4;
    min-height: 100vh;
}

.paypal-mock-banner {
    background-color: #ffc439;
    padding: 8px 16px;
    text-align: center;
    font-size: 12px;
    color: #1d1d1f;
    font-weight: 600;
}

.paypal-mock-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 32px 24px;
    max-width: 440px;
    margin: 36px auto;
}

@media (min-width: 576px) {
    .paypal-mock-card {
        padding: 40px;
        margin: 50px auto;
    }
}

.paypal-logo-text {
    font-size: 26px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}

.paypal-logo-text .pp-blue {
    color: #003087;
}

.paypal-logo-text .pp-lightblue {
    color: #009cde;
}

.paypal-mock-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin: 20px 0;
}
