/* Registration-side pages only (home, login, register, etc.) - admin dashboard is excluded */
body.bg-white {
    background-color: #FFFFFF !important;
    color: #080705 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Validation error messages (login, register, etc.) - Bootstrap only shows
   .invalid-feedback via ".is-invalid ~ .invalid-feedback", which requires
   the message to be a direct sibling of the invalid input. Our fields wrap
   the input in .input-icon-wrap (for the icon), so that sibling selector
   never matches and the message stays hidden even though it's rendered.
   Blade's @error/@enderror already only outputs this span when there's a
   real error, so it's safe to just always show it once present. */
body.bg-white .invalid-feedback {
    display: block !important;
}

body.bg-white .navbar {
    background-color: #FFFFFF !important;
}

body.bg-white .footer {
    justify-content: center;
    background: transparent !important;
    border-top: none;
    font-size: 0.85rem;
}

/* Registrant-facing text colors */
body.bg-white h4 {
    color: #1B3B63 !important;
}

body.bg-white h5.accent1 {
    color: #D9483D !important;
}

body.bg-white h5:not(.accent1) {
    color: #080705 !important;
}

/* Links */
body.bg-white a {
    color: #D9483D !important;
}

/* Main action buttons (Login, Create Account, Continue, Submit, etc.) - same
   font-weight on every screen size, only padding/font-size differ by size
   (see the desktop-only media query below) so the label never "re-weights"
   itself when the viewport crosses the breakpoint. */
body.bg-white .btn-primary {
    background-color: #17A398 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    border: 2px solid #0E7A73 !important;
    font-weight: 600 !important;
}

/* Consistent icon-to-text spacing on every icon+label button/link across the
   site. Buttons space their icon via flex `gap`, not the icon's own margin,
   so any me-1/me-2 utility left on the icon in blade markup is zeroed out
   here rather than stacking with it (that stacking is exactly why /login's
   icon used to sit closer to its label than every other button). .link-plain
   is the one exception - it's underlined text, and an underline doesn't
   render across a flex `gap` (there'd be a visible break in the line between
   icon and text), so it keeps plain margin-based spacing instead below. */
body.bg-white .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
body.bg-white .btn i.me-1,
body.bg-white .btn i.me-2,
body.bg-white .landing-btn-outline i.me-1,
body.bg-white .landing-btn-outline i.me-2,
body.bg-white .abstract-action-btn i.me-1,
body.bg-white .abstract-action-btn i.me-2 {
    margin-right: 0 !important;
}

/* Submit buttons (Login, Submit to Create Account, Pay, Continue, etc.)
   shrink to their natural size and center within their .d-grid wrapper at
   every screen size, instead of stretching edge to edge. Scoped to the
   button itself so it doesn't touch unrelated .d-grid containers used
   purely for spacing (e.g. section headings). */
body.bg-white .d-grid > .btn {
    width: auto !important;
    justify-self: center !important;
}

/* /login's "Login" button - same padding as "Register Now" already matches
   its height; its own text is shorter, so widen it to look equally
   substantial at every screen size. */
body.bg-white .login-submit-btn {
    min-width: 200px;
}

/* Desktop-only: match the verify-email button's padding/font-size on every
   teal primary button (login, attendee portal, submit, etc.) - left alone on
   mobile so touch targets stay comfortably sized. */
@media (min-width: 768px) {
    body.bg-white .btn-primary,
    body.bg-white .landing-btn-primary-sm,
    body.bg-white .landing-reg-card .btn-primary {
        padding: 10px 22px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* Numbered form step heading - a divider + extra top margin visually groups
   the fields under it, without a bordered panel eating into mobile width */
body.bg-white .form-section-title {
    margin-top: 32px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee2d3;
    font-weight: 700;
}

/* Numbered step circle for form section headings (e.g. "1 Account Information") */
body.bg-white .step-circle {
    flex-shrink: 0;
    display: inline-block;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background-color: #EF5B52;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 26px;
    text-align: center;
    vertical-align: middle;
    margin-right: 8px;
    padding: 0;
}

/* Multi-step form progress indicator (register/pay.blade.php etc.) - a
   horizontal stepper with numbered circles connected by a line; "done" and
   "current" steps are teal, the rest stay neutral. */

.progress-main {
    margin-bottom: 50px;
}

.progress-ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.progress-li {
    flex: 1;
    text-align: center;
    position: relative;
}
.progress-li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #eee2d3;
    z-index: 0;
}
.progress-step {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #eee2d3;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.8rem;
    font-weight: 700;
}
.progress-step i {
    position: relative;
    top: 1px;
    line-height: 1;
}
.progress-step.done {
    background-color: #17A398;
    border-color: #17A398;
    color: #ffffff;
}
.progress-step.current {
    background-color: #ffffff;
    border-color: #17A398;
    color: #17A398;
}
.progress-li .label {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}
.progress-step.done + .label,
.progress-step.current + .label {
    color: #080705;
    font-weight: 700;
}
.progress-status {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.progress-status.status-done { color: #0E7A73; }
.progress-status.status-current { color: #17A398; }
.progress-status.status-pending { color: #9ca3af; }

/* Bordered box for static reference info (bank transfer details, etc.) -
   neutral warm border instead of Bootstrap's default gray .border */
.bank-details-card {
    border: 1px solid #eee2d3;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
}

/* Auth card (login/register/password box) - same treatment as the landing
   page's registration card: cream background, green top accent, soft shadow */
body.bg-white .auth-card {
    background-color: #FAFBFC !important;
    border: 1px solid #eee2d3 !important;
    border-top: 4px solid #17A398 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden;
}
body.bg-white .auth-card .card {
    background-color: transparent !important;
    border: none !important;
}

/* Login's "Remember Me" / "Forgot Password?" row - both sit side by side at
   every width, so on a narrow phone they need a smaller size to avoid
   wrapping onto a second line. */
@media (max-width: 576px) {
    .login-options-row .form-check-label,
    .login-options-row .link-plain {
        font-size: 0.8rem;
    }
}

/* Form labels - softer weight/color than pure black, with breathing room
   before the input below it */
body.bg-white label:not(.form-check-label) {
    display: block;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 7px;
}

/* Consistent, more generous gap between fields - overrides whichever
   Bootstrap mb-* utility happens to be on a given .form-group, so every
   form (register, pay, etc.) gets the same breathing room without having
   to touch every field individually */
body.bg-white .form-group {
    margin-bottom: 1.5rem;
}

/* Checkboxes/radios - larger, theme-colored when checked */
body.bg-white .form-check {
    display: flex;
    align-items: center;
    padding-left: 0;
}

body.bg-white .form-check .form-check-input {
    float: none;
    width: 1.3em;
    height: 1.3em;
    margin: 0 0.5em 0 0;
    border: 1px solid #F6C1BC;
}

body.bg-white .form-check-label {
    margin-top: 0;
    font-weight: 400;
    font-size: 1rem;
}

body.bg-white .form-check-input:checked {
    background-color: #17A398 !important;
    border-color: #0E7A73 !important;
}

/* PDPA consent block (register form) - smaller text so the long legal
   copy doesn't dominate the form; .form-check-label defaults to 1rem
   sitewide, so it needs its own override here to actually shrink */
.pdpa-consent {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b7280;
}
body.bg-white .pdpa-consent .form-check-label {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b7280;
}

/* Info callout - pale amber notice box with a round icon badge, used to
   explain what happens next in a multi-step flow (e.g. account creation
   -> email verification -> login -> dashboard -> registration -> payment) */
.info-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #fdf6e0;
    border: 1px solid #f6e2ab;
    border-radius: 16px;
    padding: 16px 20px;
    margin: 20px 0;
    text-align: left;
}
.info-callout-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #EF5B52;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 1px;
}
body.bg-white .info-callout-text {
    color: #92580f !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Form field sizing + theme border */
body.bg-white .form-control,
body.bg-white select.form-control {
    border: 1px solid #F6C1BC !important;
    border-radius: 10px !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
}

/* Shared focus ring - form fields, checkboxes/radios, and the open/focused
   select2 widget all use the same coral ring for one consistent affordance */
body.bg-white .form-control:focus,
body.bg-white select.form-control:focus,
body.bg-white .form-check-input:focus,
body.bg-white .select2-container--default.select2-container--open .select2-selection--single,
body.bg-white .select2-container--default .select2-selection--single:focus {
    border-color: #EF5B52 !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 91, 82, 0.2) !important;
}

/* Icon inside form fields */
body.bg-white .input-icon-wrap {
    position: relative;
}

body.bg-white .input-icon-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #EF5B52;
    pointer-events: none;
    z-index: 2;
}

body.bg-white .input-icon-wrap .form-control,
body.bg-white .input-icon-wrap select.form-control {
    padding-left: 38px;
}

/* Show/hide password toggle */
body.bg-white .input-icon-wrap .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a7a7a;
    cursor: pointer;
}

body.bg-white .input-icon-wrap input[type="password"] {
    padding-right: 38px;
}

/* Select2 (country dropdowns) - match the theme border/radius.
   Scoped to .input-icon-wrap so it only targets the inline, closed-state
   widget - Select2 appends a SECOND .select2-container directly to <body>
   while the dropdown is open, and a blanket "width: 100% !important" would
   resize that body-level clone to 100% of the viewport (not the field),
   pushing it past the right edge and causing a horizontal page scrollbar. */
body.bg-white .input-icon-wrap .select2-container {
    width: 100% !important;
}

body.bg-white .select2-container .select2-selection--single {
    height: calc(1.5em + 1.1rem + 2px);
    border: 1px solid #F6C1BC !important;
    border-radius: 10px !important;
    padding-left: 12px;
}

body.bg-white .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 1.1rem);
    padding-left: 0;
}

body.bg-white .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 1.1rem + 2px);
}

/* When a select2 field sits inside an icon wrapper, leave room for the icon */
body.bg-white .input-icon-wrap .select2-container .select2-selection--single {
    padding-left: 38px;
}

body.bg-white select.select2-field {
    display: none;
}

/* Back/Cancel actions - plain underlined text link, no button chrome */
body.bg-white .link-plain {
    display: inline;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    color: #D9483D !important;
    text-decoration: underline !important;
}
/* Underlined text doesn't render its line across a flex `gap`, so icon
   spacing here is a plain margin (not gap like the other buttons) - that
   keeps the underline unbroken beneath the icon-to-text space. */
body.bg-white .link-plain i {
    margin-right: 8px !important;
}


@font-face {
    font-family: 'Poppins';
    src: url('../assets/font/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/font/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/font/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Regular weight for body copy and form fields */
body,
input,
textarea,
select {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* Medium weight for buttons and headings */
.btn,
button,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-weight: 500;
}

/* Admin dashboard header - match the registration-side navbar color */
.header,
.sidebar-header {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #e2ddd2;
}

/* ==========================================================================
   Landing page (home.blade.php) - reusable header + hero + registration card
   Class names are generic ("landing-*") on purpose so this whole block can
   be reused as-is on other event sites, not tied to any one conference.
   ========================================================================== */

/* Header brand logo - sized to sit level with the two-line title text beside it */
.landing-brand-logo {
    height: 44px;
    width: auto;
    margin: 6px 0;
}

/* Header nav actions (Register Now / Sign In, and separately Submit Abstract
   / My Profile / Attendee Portal / user menu) + mobile hamburger toggle -
   .landing-* and .attendee-* share the same collapse-to-column behavior on
   mobile, so their common rules are merged below. */
.landing-nav-actions,
.attendee-nav-actions {
    display: flex;
    align-items: center;
}
.landing-nav-actions { gap: 12px; }
.attendee-nav-actions { gap: 16px; }
.landing-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #080705;
    font-size: 1.35rem;
    line-height: 1;
    padding: 6px 4px;
}
.landing-btn-primary-sm {
    padding: 6px 16px !important;
    font-size: 1rem;
    line-height: 1.4;
}
@media (max-width: 767.98px) {
    .landing-nav-actions,
    .attendee-nav-actions {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 14px;
    }
    .landing-nav-actions { gap: 10px; }
    .attendee-nav-actions { gap: 12px; }
    .landing-nav-actions.show,
    .attendee-nav-actions.show { display: flex; }
    .landing-nav-toggle { display: inline-block; }
    .attendee-user { width: 100%; }
    .attendee-user-trigger { width: 100%; justify-content: center; }
}

/* Page wrapper */
.landing-page .container { max-width: 960px; }

/* "Official Registration Open" pill */
.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #EF5B52;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

/* Hero banner */
.landing-hero {
    background: linear-gradient(135deg, #1B3B63 0%, #17A398 100%);
    border-radius: 16px;
    padding: 48px 40px;
    color: #ffffff;
}
.landing-hero h1 { font-weight: 800; font-size: 2.25rem; margin-bottom: 14px; color: #ffffff !important; }
.landing-hero-sub { font-size: 1.05rem; max-width: 640px; opacity: 0.95; margin-bottom: 20px; }
.landing-hero-meta { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 600; }
.landing-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* Quick Actions bar */
.landing-quick {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #eee2d3;
    padding: 20px 28px;
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.landing-quick-icon {
    width: 40px;
    height: 40px;
    background-color: #DFF4F1;
    color: #0E7A73;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.landing-quick-title { font-weight: 700; color: #080705; }
.landing-quick-desc { font-size: 0.85rem; color: #6b7280; }
.landing-quick-actions { gap: 16px; }
@media (max-width: 767.98px) {
    .landing-quick-actions {
        width: 100%;
        justify-content: center;
        gap: 28px;
    }
}

/* Outline button (e.g. "Sign In" in Quick Actions) */
body.bg-white .landing-btn-outline {
    background-color: #ffffff;
    border: 2px solid #17A398;
    color: #0E7A73 !important;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    border-radius: 8px;
    padding: 6px 16px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
body.bg-white .landing-btn-outline:hover { background-color: #f2f6ec; color: #0E7A73 !important; }
body.bg-white .landing-btn-outline.disabled,
body.bg-white .landing-btn-outline:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #ffffff;
}

/* Keep .btn-primary the same color on hover/focus/active (no CoreUI color flash) */
body.bg-white .btn-primary,
body.bg-white .btn-primary:hover,
body.bg-white .btn-primary:focus,
body.bg-white .btn-primary:active,
body.bg-white .btn-primary:focus-visible {
    background-color: #17A398 !important;
    border-color: #0E7A73 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Registration card */
.landing-reg-wrap { display: flex; justify-content: center; margin: 40px 0 24px; }
.landing-reg-card {
    background-color: #FAFBFC;
    border-radius: 14px;
    border: 1px solid #eee2d3;
    border-top: 4px solid #17A398;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 36px 40px;
    width: 100%;
    text-align: center;
}
.landing-reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #DFF4F1;
    color: #0E7A73 !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.landing-reg-card h3 { font-weight: 800; color: #080705 !important; margin-bottom: 14px; }
.landing-reg-card p { color: #4b4b48; }
.landing-reg-note { font-size: 0.9rem; color: #6b7280; margin-bottom: 24px; }
.landing-reg-card .btn-primary { padding: 12px 28px; font-size: 1rem; }

@media (max-width: 576px) {
    .landing-hero { padding: 32px 24px; }
    .landing-badge { display: flex; width: fit-content; margin: 0 auto 12px; }
    .landing-hero h1 { font-size: 1.6rem; margin-bottom: 8px; }
    .landing-hero-sub { margin-bottom: 12px; }
    .landing-hero-meta { gap: 8px; }
    .landing-reg-card { padding: 28px 22px; }
}

/* Registration & Abstract Submission roadmap (home.blade.php) */
.landing-roadmap { margin-top: 40px; }
.landing-roadmap-header { text-align: center; margin-bottom: 28px; }
.landing-roadmap-header h2 { font-weight: 800; font-size: 1.6rem; color: #080705; margin: 12px 0 6px; }
.landing-roadmap-header p { color: #6b7280; max-width: 560px; margin: 0 auto; }

.roadmap-track {
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}
.roadmap-track-a { background-color: #EAF8F5; border-color: #bfe8e1; }
.roadmap-track-b { background-color: #EEF3F8; border-color: #cfdcea; }

.roadmap-track-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.roadmap-track-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.roadmap-track-a .roadmap-track-icon { background-color: #0E7A73; }
.roadmap-track-b .roadmap-track-icon { background-color: #1B3B63; }

.roadmap-track-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.roadmap-track-a .roadmap-track-eyebrow { color: #0E7A73; }
.roadmap-track-b .roadmap-track-eyebrow { color: #1B3B63; }
.roadmap-track-header h3 { font-weight: 800; font-size: 1.15rem; color: #080705 !important; margin: 0; }

.roadmap-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.roadmap-step:last-child { margin-bottom: 0; }
.roadmap-step-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
}
.roadmap-track-a .roadmap-step-number { background-color: #0E7A73; }
.roadmap-track-b .roadmap-step-number { background-color: #1B3B63; }
.roadmap-step-title { font-weight: 700; color: #080705; margin-bottom: 2px; }
.roadmap-step-desc { font-size: 0.88rem; color: #6b7280; line-height: 1.5; }

@media (max-width: 576px) {
    .roadmap-track { padding: 20px; }
    .roadmap-track-header { flex-wrap: wrap; }
}

/* Auth page wrapper - vertically centers the login/register card.
   Not a Bootstrap utility (BS only ships .min-vh-100), so it needs its own rule. */
.min-vh-80 {
    min-height: 80vh;
}

/* ==========================================================================
   Auth card brand block (login, password reset, etc.) - logo + event name,
   plain body text on purpose (no h1-h6) so it isn't caught by the global
   heading color overrides above. Generic "auth-brand-*" names for reuse.
   ========================================================================== */
.auth-brand-logo {
    height: 72px;
    width: auto;
    margin-bottom: 14px;
}
.auth-brand-title {
    font-weight: 700;
    font-size: 1.35rem;
    color: #1B3B63;
    line-height: 1.3;
}
.auth-brand-subtitle {
    font-weight: 600;
    font-size: 1rem;
    color: #080705;
    line-height: 1.3;
}

/* ==========================================================================
   Attendee dashboard - header nav/user menu + welcome/status/abstract cards.
   Generic "attendee-*" names for reuse across other event sites.
   ========================================================================== */

/* User avatar + name trigger button */
.attendee-user { position: relative; }
.attendee-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #eee2d3;
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
}
.attendee-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #2F93CE;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.attendee-user-avatar-lg {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}
.attendee-user-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: #080705;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.attendee-user-tag {
    background-color: #F1EDE6;
    color: #6b7280;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 999px;
}
.attendee-user-caret {
    font-size: 0.7rem;
    color: #6b7280;
    transition: transform 0.15s ease;
}
.attendee-user-trigger[aria-expanded="true"] .attendee-user-caret {
    transform: rotate(180deg);
}

/* Dropdown panel */
.attendee-user-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background-color: #ffffff;
    border: 1px solid #eee2d3;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 16px;
    z-index: 1000;
}
.attendee-user-menu.show { display: block; }
@media (max-width: 767.98px) {
    .attendee-user-menu {
        left: 0;
        right: 0;
        width: auto;
    }
}
.attendee-user-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.attendee-user-menu-id { min-width: 0; }
.attendee-user-menu-name {
    font-weight: 700;
    color: #080705;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.attendee-user-menu-email {
    font-size: 0.78rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.attendee-user-badge {
    display: inline-block;
    background-color: #F1EDE6;
    color: #6b7280;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
body.bg-white .attendee-user-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    color: #080705 !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.9rem;
    border-top: 1px solid #f0ece3;
}
.attendee-user-menu-link i { width: 16px; color: #6b7280; }
body.bg-white .attendee-user-menu-logout { color: #D9483D !important; }
.attendee-user-menu-logout i { color: #D9483D; }

/* Pending-payment banner - full-width, higher-urgency call to action so it
   stands out above the compact status pill used for the other two states */
.attendee-alert-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fdf6e0;
    border: 1px solid #f6e2ab;
    border-left: 6px solid #92580f;
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 20px;
}
.attendee-alert-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #92580f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.attendee-alert-banner-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.attendee-alert-banner-text strong {
    color: #080705;
    font-size: 1rem;
}
.attendee-alert-banner-text span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* "Pay Now" button inside this banner - amber to match the warning banner
   itself instead of the site's default teal primary button. */
body.bg-white .attendee-alert-banner .btn-primary,
body.bg-white .attendee-alert-banner .btn-primary:hover,
body.bg-white .attendee-alert-banner .btn-primary:focus,
body.bg-white .attendee-alert-banner .btn-primary:active,
body.bg-white .attendee-alert-banner .btn-primary:focus-visible {
    background-color: #92580f !important;
    border-color: #6e4209 !important;
    color: #ffffff !important;
}
@media (max-width: 576px) {
    .attendee-alert-banner { flex-wrap: wrap; }
}

/* Welcome card */
.attendee-welcome {
    background-color: #ffffff;
    border-radius: 14px;
    border: 1px solid #eee2d3;
    border-top: 4px solid #2F93CE;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 28px 32px;
    margin-bottom: 20px;
}
.attendee-welcome h1 { font-weight: 800; font-size: 1.6rem; color: #080705 !important; margin-bottom: 6px; }
.attendee-welcome-sub { color: #6b7280; font-size: 0.95rem; }

/* Registration status card */
.attendee-status {
    background-color: #fdf6e0;
    border: 1px solid #f6e2ab;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.attendee-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #EF5B52;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.attendee-status-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #92580f;
}
.attendee-status-code { font-weight: 800; color: #080705; font-size: 1.05rem; }
.attendee-status-category { font-weight: 400; color: #6b7280; }
.attendee-status-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 576px) {
    .attendee-status {
        flex-direction: column;
        align-items: flex-start;
    }
    .attendee-status-actions {
        width: 100%;
        gap: 10px;
    }
    /* the pill has its own 14px horizontal padding, so the link needs a
       matching left margin to visually line up with the pill's text */
    .attendee-status-actions .link-plain {
        margin-left: 14px;
    }
}
.attendee-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: #92580f;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
}
.attendee-status-pill.confirmed { color: #0E7A73; }
.attendee-status-pill.awaiting { color: #2F93CE; }
.attendee-status-pill.cancelled { color: #D9483D; }

/* Abstract / profile card */
.attendee-abstract {
    background-color: #eef6fb;
    border: 1px solid #cfe7f5;
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.attendee-abstract-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #2F93CE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.attendee-abstract-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: #2F93CE !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.attendee-abstract h3 { font-weight: 800; font-size: 1.1rem; color: #080705 !important; margin-bottom: 10px; }
.attendee-abstract p { font-size: 0.9rem; color: #4b4b48; margin-bottom: 16px; }
.attendee-abstract-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ==========================================================================
   Check Registration Status page (public, no login required) - gradient
   header card + search form, plus a result/not-found panel below.
   Generic "status-*" names for reuse across other event sites.
   ========================================================================== */
.status-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1B3B63;
    font-weight: 500;
    text-decoration: none !important;
    margin-bottom: 20px;
}
.status-back-link:hover { color: #17A398; }

.status-card {
    border-radius: 16px;
    border: 1px solid #eee2d3;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}
.status-card-header {
    background: linear-gradient(135deg, #1B3B63 0%, #17A398 100%);
    color: #ffffff;
    padding: 32px 36px;
}
.status-card-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff !important;
    margin-bottom: 8px;
}
.status-card-header p { opacity: 0.95; margin-bottom: 0; }
.status-card-body {
    background-color: #ffffff;
    padding: 28px 36px;
}
body.bg-white .status-search-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}
.status-search-row {
    display: flex;
    gap: 12px;
}
.status-search-row .form-control { flex: 1 1 auto; }
.status-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .status-card-header,
    .status-card-body { padding: 24px 22px; }
    .status-search-row { flex-direction: column; }
}

.status-result { margin-bottom: 16px; }
.status-result-note { color: #6b7280; font-size: 0.9rem; }

.status-not-found {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fdf6e0;
    border: 1px solid #f6e2ab;
    border-radius: 14px;
    padding: 18px 22px;
    color: #92580f;
}

/* ==========================================================================
   Registration Details page - hero banner + ID/status strip + summary card
   + bottom action bar. Generic "reg-*" names for reuse.
   ========================================================================== */
.reg-hero {
    background: linear-gradient(135deg, #1B3B63 0%, #17A398 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}
/* used for cancelled/error states instead of the default navy-teal gradient */
.reg-hero-danger {
    background: linear-gradient(135deg, #D9483D 0%, #EF5B52 100%);
}
.reg-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.reg-hero h1 { font-weight: 800; font-size: 1.6rem; color: #ffffff !important; margin-bottom: 8px; }
.reg-hero p { opacity: 0.95; margin-bottom: 0; max-width: 520px; margin-left: auto; margin-right: auto; }

.reg-id-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #DFF4F1;
    border: 1px solid #bfe8e3;
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 20px;
}
.reg-id-strip-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0E7A73;
}
.reg-id-strip-value { font-size: 1.15rem; font-weight: 800; color: #080705; }

.reg-summary-card {
    background-color: #ffffff;
    border: 1px solid #eee2d3;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 24px 28px;
    margin-bottom: 20px;
}
.reg-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #080705;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee2d3;
}
.reg-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}
.reg-summary-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
}
.reg-summary-field div { font-size: 0.9rem; font-weight: 500; color: #080705; }
.reg-summary-field-full { grid-column: 1 / -1; }
@media (max-width: 576px) {
    .reg-summary-grid { grid-template-columns: 1fr; }
}

.reg-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #eef6fb;
    border: 1px solid #cfe7f5;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
}
.reg-info-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #2F93CE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.reg-info-card-text { display: flex; flex-direction: column; gap: 2px; }
.reg-info-card-text strong { color: #080705; font-size: 0.95rem; }
.reg-info-card-text span { color: #6b7280; font-size: 0.88rem; }

.reg-actions-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 8px;
}
@media (max-width: 576px) {
    .reg-actions-bar { flex-direction: column; }
}

/* Abstract submission - authors table (register/submissions/create.blade.php).
   Horizontal scroll on its own axis so the page body never scrolls sideways. */
.author-table-wrap {
    overflow-x: auto;
    border: 1px solid #eee2d3;
    border-radius: 10px;
    margin-bottom: 8px;
}
table.author-table {
    min-width: 920px;
    margin-bottom: 0;
}
table.author-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
    background-color: #faf7f0;
    white-space: nowrap;
    vertical-align: middle;
}
table.author-table td {
    vertical-align: middle;
}
table.author-table td.author-col-title { min-width: 150px; }
table.author-table td.author-col-name { min-width: 160px; }
table.author-table td.author-col-role { min-width: 150px; }
table.author-table td.author-col-email { min-width: 190px; }
table.author-table td.author-col-phone { min-width: 150px; }
table.author-table td.author-col-presenter,
table.author-table th.author-col-presenter { min-width: 90px; text-align: center; }
table.author-table td.author-col-del,
table.author-table th.author-col-del { min-width: 80px; text-align: center; }
.author-other-title { display: none; }

/* Dropdown chevron - our select.form-control fields otherwise look
   identical to text inputs, so add a visible affordance that they open a
   list (scoped to the abstract submission form only). */
body.bg-white .abstract-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23EF5B52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
    padding-right: 30px !important;
}
body.bg-white .abstract-form .input-icon-wrap select.form-control {
    padding-right: 30px !important;
}

/* Abstract submission - live word/keyword counters */
.word-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0E7A73;
    background-color: #eafaf7;
    border: 1px solid #bfe8e1;
    border-radius: 999px;
    padding: 4px 14px;
}
.word-count-badge.over-limit {
    color: #b3261e;
    background-color: #fdecea;
    border-color: #f3c2bd;
}

/* Abstract submission - keyword tag input */
.keyword-input-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 8px 10px;
    background-color: #ffffff;
}
.keyword-input-wrap input[type="text"] {
    flex: 1 1 140px;
    min-width: 100px;
    border: none;
    outline: none;
    padding: 4px;
    font-size: 0.9rem;
}
.keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #eafaf7;
    color: #0E7A73;
    border: 1px solid #bfe8e1;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.keyword-chip-remove {
    background: none;
    border: none;
    color: #0E7A73;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}
.keyword-chip-remove:hover { color: #b3261e; }

/* My Abstracts list (submissions/index.blade.php) */
.abstract-welcome-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
}
.abstract-quota-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eef6fb;
    color: #2F93CE;
    border: 1px solid #cfe7f5;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 7px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.abstract-quota-badge.quota-reached { color: #D9483D; background-color: #fdecea; border-color: #f3c2bd; }

.abstract-total-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 1px solid #eee2d3;
    color: #080705;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.abstract-list-empty {
    background-color: #ffffff;
    border: 1px dashed #d8cdb8;
    border-radius: 14px;
    padding: 48px 24px;
    text-align: center;
}
.abstract-list-empty h3 { font-weight: 800; color: #080705; font-size: 1.15rem; margin-bottom: 8px; }
.abstract-list-empty p { color: #6b7280; margin-bottom: 20px; }

.abstract-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: #ffffff;
    border: 1px solid #eee2d3;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 18px 22px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.abstract-list-title { font-weight: 700; color: #080705; font-size: 1rem; margin-bottom: 4px; }
.abstract-list-meta { color: #6b7280; font-size: 0.85rem; margin-bottom: 2px; }
.abstract-list-date { color: #9ca3af; font-size: 0.78rem; }
.abstract-list-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.abstract-status-sep { color: #d1d5db; font-weight: 600; }
.abstract-list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
body.bg-white .abstract-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    border: 2px solid #17A398;
    color: #0E7A73 !important;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.3;
    border-radius: 8px;
    padding: 5px 12px;
    text-decoration: none !important;
    cursor: pointer;
}
body.bg-white .abstract-action-btn:hover { background-color: #f2f6ec; }
body.bg-white .abstract-action-btn.abstract-action-btn-danger {
    background-color: #D9483D;
    border-color: #D9483D;
    color: #ffffff !important;
}
body.bg-white .abstract-action-btn.abstract-action-btn-danger:hover {
    background-color: #c23e33;
    border-color: #c23e33;
    color: #ffffff !important;
}
.abstract-list-locked-note {
    color: #9ca3af;
    font-size: 0.78rem;
    font-style: italic;
    text-align: right;
}
@media (max-width: 576px) {
    .abstract-welcome-head { flex-direction: column; align-items: stretch; }
    .abstract-list-item { flex-direction: column; align-items: flex-start; }
    .abstract-list-side { align-items: flex-start; width: 100%; }
}
