/* ============================================================
   COUTURE India Redesign Styles
   Shared stylesheet for auth, dashboard, exhibitor & online
   buyer registration screens.
   ============================================================ */

/* ============================================================
   AUTH PAGES (login / forgot password / reset password)
   Used by resources/views/Layouts/login.blade.php
   ============================================================ */
.ci-login-wrapper {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.ci-login-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    z-index: 0;
}

.ci-login-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 11, 7, 0.7) 0%, rgba(45, 32, 18, 0.55) 100%);
}

.ci-login-brand {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 32px;
}

.ci-login-brand a {
    display: inline-block;
    line-height: 0;
}

.ci-login-brand img {
    max-height: 110px;
    max-width: 260px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

@media (max-width: 575px) {
    .ci-login-brand img {
        max-height: 80px;
        max-width: 200px;
    }
}

.ci-login-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
}

.ci-login-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.1);
    text-align: left;
}

.ci-login-notice-body {
    flex: 1 1 auto;
    min-width: 0;
}

.ci-login-notice-title {
    margin: 0 0 4px;
    color: #fecaca;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.ci-login-notice-text {
    margin: 0;
    color: #f5f0e8;
    font-size: 13px;
    line-height: 1.45;
}

.ci-login-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.18);
    color: #ef4444;
    font-size: 1.125rem;
}

.ci-login-card {
    background: rgba(20, 14, 8, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(214, 200, 151, 0.25);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.ci-login-eyebrow {
    color: #d6c897;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 6px;
}

.ci-login-title {
    color: #ffffff;
    font-family: 'Cardo', serif;
    font-size: 30px;
    text-align: center;
    margin: 0 0 8px;
    font-weight: 400;
}

.ci-login-title span {
    color: #d6c897;
    font-style: italic;
}

.ci-login-subtitle {
    color: #d8d4cb;
    text-align: center;
    font-size: 13px;
    margin: 0 0 30px;
    letter-spacing: 0.3px;
}

.ci-login-wrapper .ci-field {
    margin-bottom: 18px;
}

.ci-login-wrapper .ci-field label {
    display: block;
    color: #d6c897;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.ci-input-wrap {
    position: relative;
}

.ci-input-wrap i {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #b69a3a;
    font-size: 14px;
    pointer-events: none;
}

.ci-input {
    width: 100%;
    height: 50px;
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(214, 200, 151, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ci-input::placeholder {
    color: rgba(216, 212, 203, 0.55);
    font-weight: 300;
}

.ci-input:focus {
    border-color: #d6c897;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(214, 200, 151, 0.12);
}

.ci-input.border-red {
    border-color: #d97a7a !important;
    box-shadow: 0 0 0 3px rgba(217, 122, 122, 0.15);
}

.ci-input-password {
    padding-right: 46px;
}

.ci-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #b69a3a;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.ci-password-toggle:hover,
.ci-password-toggle:focus {
    color: #d6c897;
    background: rgba(214, 200, 151, 0.1);
    outline: none;
}

.ci-password-toggle i {
    font-size: 14px;
    pointer-events: none;
}

.ci-error {
    display: block;
    color: #f5b4b4;
    font-size: 12px;
    margin-top: 6px;
    min-height: 14px;
    letter-spacing: 0.2px;
}

.ci-login-actions {
    margin-top: 8px;
}

.ci-login-btn {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ci-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(214, 200, 151, 0.28);
    filter: brightness(1.02);
}

.ci-login-btn i {
    font-size: 12px;
    color: #1d1408;
}

.ci-login-footer {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.ci-forgot-link {
    color: #d6c897;
    font-size: 12.5px;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.2s ease;
}

.ci-forgot-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: rgba(214, 200, 151, 0.4);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left center;
}

.ci-forgot-link:hover {
    color: #ffffff;
}

.ci-forgot-link:hover::after {
    transform: scaleX(1);
    background: #ffffff;
}

.ci-login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 4px;
    color: rgba(216, 212, 203, 0.5);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ci-login-divider::before,
.ci-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(214, 200, 151, 0.18);
}

@media (max-width: 575px) {
    .ci-login-card {
        padding: 30px 22px;
    }
    .ci-login-title {
        font-size: 24px;
    }
}

/* ============================================================
   EXHIBITOR HEADER
   Used by resources/views/Element/exhibitor-header.blade.php
   ============================================================ */
body .ci-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #f1e7c8;
    box-shadow: 0 4px 18px rgba(143, 115, 15, 0.06);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0 !important;
}

body .ci-header::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d6c897 35%, #b69a3a 50%, #d6c897 65%, transparent 100%);
}

.ci-header .ci-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-header .ci-header-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.ci-header .ci-header-logo img {
    height: 64px;
    width: auto;
    max-width: 240px;
    display: block;
}

@media (max-width: 767px) {
    .ci-header .ci-header-inner {
        padding: 10px 16px;
    }
    .ci-header .ci-header-logo img {
        height: 46px;
        max-width: 170px;
    }
}

/* ============================================================
   EXHIBITOR DASHBOARD
   Used by resources/views/Account/account.blade.php
   ============================================================ */
.ci-dashboard {
    padding: 40px 0 80px;
    background: linear-gradient(180deg, #faf7ef 0%, #ffffff 60%);
    min-height: 70vh;
}

.ci-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: flex-start;
}

/* ---------- Sidebar ---------- */
.ci-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(143, 115, 15, 0.08);
    padding: 24px 18px;
    position: sticky;
    top: 24px;
    border: 1px solid #f1e7c8;
}

.ci-profile-card {
    text-align: center;
    padding: 8px 8px 20px;
    border-bottom: 1px dashed #e7dab1;
    margin-bottom: 14px;
}

.ci-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d6c897 0%, #8f730f 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(143, 115, 15, 0.25);
    font-family: 'Montserrat', sans-serif;
}

.ci-name {
    font-size: 16px;
    color: #1d1d1d;
    margin: 0 0 4px;
    font-weight: 600;
    font-family: 'Cardo', serif;
    letter-spacing: 0.3px;
}

.ci-role {
    font-size: 12px;
    color: #8f730f;
    margin: 0 0 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ci-reg-id {
    display: inline-block;
    background: #faf3df;
    color: #6b540a;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.ci-nav {
    display: block;
}

.ci-nav .nav-item {
    margin-bottom: 4px;
    list-style: none;
}

.ci-nav .nav-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #5b4a16 !important;
    font-size: 14px;
    font-weight: 500 !important;
    border: none !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    line-height: 1.35;
}

.ci-nav .nav-link i {
    width: 22px;
    text-align: center;
    color: #b69a3a;
    font-size: 14px;
    flex-shrink: 0;
}

.ci-nav .nav-link:hover {
    background: #faf3df !important;
    color: #6b540a !important;
    transform: translateX(2px);
}

.ci-nav .nav-link.active {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(182, 154, 58, 0.32);
}

.ci-nav .nav-link.active i {
    color: #ffffff;
}

.ci-nav .ci-logout {
    color: #a23f3f !important;
}

.ci-nav .ci-logout i {
    color: #a23f3f;
}

.ci-nav .ci-logout:hover {
    background: #fbecec !important;
}

.ci-nav .nav-link.active::after {
    display: none !important;
}

/* ---------- Content ---------- */
.ci-content {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(143, 115, 15, 0.08);
    border: 1px solid #f1e7c8;
    padding: 32px;
    min-height: 540px;
}

.ci-hero {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2c2620 100%);
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 28px;
}

.ci-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(214, 200, 151, 0.25) 0%, transparent 55%);
    pointer-events: none;
}

.ci-hero-text {
    position: relative;
    z-index: 1;
    flex: 1;
}

.ci-eyebrow {
    color: #d6c897;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    margin: 0 0 8px;
    font-weight: 600;
}

.ci-hero-title {
    font-family: 'Cardo', serif;
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 400;
    color: #ffffff;
}

.ci-hero-title span {
    color: #d6c897;
    font-style: italic;
}

.ci-hero-subtitle {
    color: #d8d4cb;
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 540px;
}

.ci-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.ci-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #f2eddf;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(214, 200, 151, 0.25);
}

.ci-hero-meta-item i {
    color: #d6c897;
    font-size: 12px;
}

.ci-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.ci-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #ece4cf;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 200px;
}

.ci-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(143, 115, 15, 0.12);
    border-color: #d6c897;
    color: inherit;
}

.ci-card--static {
    cursor: default;
}

.ci-card--static:hover {
    transform: none;
    box-shadow: none;
    border-color: #ece4cf;
}

.ci-card-meta {
    font-size: 12px;
    color: #4a4d5a;
    margin: 10px 0 0;
    line-height: 1.5;
}

.ci-card-meta strong {
    color: #1d1d1d;
    font-weight: 600;
    word-break: break-all;
}

.ci-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #faf3df 0%, #ece4cf 100%);
    color: #8f730f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.ci-card-body h5 {
    font-family: 'Cardo', serif;
    font-size: 18px;
    margin: 0 0 6px;
    color: #1d1d1d;
    font-weight: 600;
}

.ci-card-body p {
    font-size: 13px;
    color: #6f6a5b;
    margin: 0 0 12px;
    line-height: 1.5;
}

.ci-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.ci-badge-completed {
    background: #e8f6ec;
    color: #2f7a3a;
}

.ci-badge-pending {
    background: #fff4e0;
    color: #b06f0a;
}

.ci-badge-partial {
    background: #eef4ff;
    color: #3b5bdb;
}

.ci-badge-info {
    background: #f2eddf;
    color: #8f730f;
}

.ci-card-cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8f730f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ci-card-cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ci-card:hover .ci-card-cta i {
    transform: translateX(3px);
}

/* Booth payments hub (dashboard) */
.ci-pay-hub {
    font-family: 'Montserrat', sans-serif;
}

.ci-pay-hub__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.ci-pay-hub__status-tabs {
    display: inline-flex;
    padding: 4px;
    background: #f5f0e4;
    border: 1px solid #e8e1d2;
    border-radius: 999px;
    gap: 4px;
}

.ci-pay-hub__tab {
    border: none;
    background: transparent;
    color: #6e7180;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ci-pay-hub__tab:hover {
    color: #8e6b27;
}

.ci-pay-hub__tab.is-active {
    background: #ffffff;
    color: #8e6b27;
    box-shadow: 0 4px 14px rgba(180, 139, 60, 0.15);
}

.ci-pay-hub__summary {
    white-space: nowrap;
}

.ci-pay-hub__events {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 22px;
    scrollbar-width: thin;
}

.ci-pay-hub__events::-webkit-scrollbar {
    height: 5px;
}

.ci-pay-hub__events::-webkit-scrollbar-thumb {
    background: #d6c897;
    border-radius: 999px;
}

.ci-pay-chip {
    position: relative;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 260px;
    text-align: left;
    padding: 14px 38px 14px 16px;
    border: 1px solid #ece5d3;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ci-pay-chip:hover {
    border-color: #d6b66a;
    box-shadow: 0 8px 22px rgba(180, 139, 60, 0.1);
}

.ci-pay-chip.is-active {
    border-color: #caa856;
    background: linear-gradient(135deg, #fffdf8 0%, #faf5e7 100%);
    box-shadow: 0 10px 26px rgba(180, 139, 60, 0.14);
}

.ci-pay-chip__title {
    display: block;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    color: #1d2230;
    line-height: 1.3;
    margin-bottom: 4px;
}

.ci-pay-chip__date {
    display: block;
    font-size: 11px;
    color: #8a8e9e;
    letter-spacing: 0.3px;
}

.ci-pay-chip__dot {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ci-pay-chip__dot--due {
    background: #e09b2d;
    box-shadow: 0 0 0 3px rgba(224, 155, 45, 0.2);
}

.ci-pay-chip__dot--ok {
    background: #2f7a3a;
    box-shadow: 0 0 0 3px rgba(47, 122, 58, 0.15);
}

.ci-pay-detail {
    background: #ffffff;
    border: 1px solid #ece5d3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(29, 34, 48, 0.05);
}

.ci-pay-detail__hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 26px;
    background: linear-gradient(135deg, #1d2230 0%, #2a3040 100%);
    color: #ffffff;
}

.ci-pay-detail__title {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #ffffff;
}

.ci-pay-detail__dates {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.ci-pay-detail__dates i {
    color: #d6b66a;
    margin-right: 6px;
}

.ci-pay-detail__progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.ci-pay-detail__progress-label strong {
    color: #d6b66a;
    font-size: 14px;
}

.ci-pay-detail__progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.ci-pay-detail__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d6b66a 0%, #b48b3c 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.ci-pay-detail__amounts {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.ci-pay-detail__amounts strong {
    color: #ffffff;
    font-weight: 600;
}

.ci-pay-detail__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 22px 24px 24px;
    background: #fdfbf3;
}

.ci-pay-tile {
    background: #ffffff;
    border: 1px solid #ece5d3;
    border-radius: 14px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ci-pay-tile--due {
    border-top: 3px solid #d6b66a;
}

.ci-pay-tile--done {
    border-top: 3px solid #2f7a3a;
    background: #fbfdf9;
}

.ci-pay-tile__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ci-pay-tile__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #faf5e7;
    color: #b48b3c;
    font-size: 15px;
}

.ci-pay-tile__head h5 {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 600;
    color: #1d2230;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ci-pay-tile__amount {
    margin: 0;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1d2230;
    line-height: 1.2;
}

.ci-pay-tile__status {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
}

.ci-pay-tile__status--due {
    background: #fff4e0;
    color: #b06f0a;
}

.ci-pay-tile__status--done {
    background: #e8f6ec;
    color: #2f7a3a;
}

.ci-pay-tile__note {
    margin: 0;
    font-size: 13px;
    color: #6e7180;
    line-height: 1.5;
}

.ci-pay-tile__meta {
    margin: 0;
    font-size: 11px;
    color: #8a8e9e;
    word-break: break-all;
}

.ci-pay-tile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    margin-top: auto;
    background: linear-gradient(135deg, #d6b66a 0%, #b48b3c 100%);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ci-pay-tile__btn:hover {
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(180, 139, 60, 0.28);
    transform: translateY(-1px);
}

.ci-pay-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fdfbf3;
    border: 1px dashed #e2dbc6;
    border-radius: 14px;
}

.ci-pay-empty__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #faf5e7;
    color: #b48b3c;
    font-size: 20px;
}

.ci-pay-empty h4 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 22px;
    color: #1d2230;
    margin: 0 0 6px;
}

.ci-pay-empty p {
    margin: 0;
    font-size: 13px;
    color: #6e7180;
}

@media (max-width: 900px) {
    .ci-pay-detail__hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ci-pay-hub__top {
        flex-direction: column;
        align-items: stretch;
    }

    .ci-pay-hub__status-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .ci-pay-hub__tab {
        flex: 1 1 auto;
        padding: 9px 10px;
        font-size: 10px;
    }

    .ci-pay-chip {
        min-width: 170px;
    }
}

.ci-panel-header {
    margin-bottom: 22px;
}

.ci-panel-header h3 {
    font-family: 'Cardo', serif;
    font-size: 28px;
    color: #1d1d1d;
    margin: 0 0 4px;
}

.ci-panel-header p {
    color: #6f6a5b;
    margin: 0;
    font-size: 14px;
}

.ci-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

.ci-doc-card {
    background: #faf7ef;
    border: 1px solid #ece4cf;
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ci-doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(143, 115, 15, 0.1);
}

.ci-doc-image {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.ci-doc-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.ci-doc-name {
    font-weight: 600;
    color: #5b4a16;
    font-size: 14px;
}

.ci-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.ci-icon-tile {
    background: #faf7ef;
    border: 1px solid #ece4cf;
    border-radius: 12px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ci-icon-tile i {
    font-size: 26px;
    color: #b69a3a;
    margin-bottom: 8px;
    display: block;
}

.ci-icon-tile span {
    font-size: 13px;
    color: #5b4a16;
    font-weight: 500;
}

.ci-icon-tile:hover {
    transform: translateY(-3px);
    border-color: #d6c897;
}

@media (max-width: 991px) {
    .ci-shell {
        grid-template-columns: 1fr;
    }
    .ci-sidebar {
        position: static;
    }
    .ci-content {
        padding: 22px;
    }
    .ci-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }
    .ci-hero-title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .ci-dashboard {
        padding: 20px 0 60px;
    }
    .ci-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   EXHIBITOR REGISTRATION FORM
   Used by resources/views/Exhibitor/registration.blade.php
   ============================================================ */
.ci-reg-wrapper {
    padding: 30px 0 30px;
    background: #ffffff;
    min-height: 70vh;
    font-family: 'Montserrat', sans-serif;
}

.ci-reg-wrapper > .container,
section.ci-reg-wrapper > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ci-reg-wrapper ~ * .ci-header,
.ci-reg-wrapper ~ * footer.footer {
    /* placeholder so header/footer hide rules below take precedence */
}

.ci-reg-wrapper .ci-reg-shell,
.ci-buyer-wrapper .ci-reg-shell {
    max-width: 920px;
    margin: 0 auto;
}

.ci-buyer-wrapper .ci-reg-shell {
    max-width: 940px;
}

/* ---------- Hero (shared by exhibitor + buyer reg) ---------- */
.ci-reg-hero {
    position: relative;
    padding: 30px 36px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, #1a1a1a 0%, #2c2620 100%);
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 50px rgba(28, 22, 10, 0.15);
}

.ci-reg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 100%, rgba(214, 200, 151, 0.22) 0%, transparent 55%);
    pointer-events: none;
}

.ci-reg-hero-text {
    position: relative;
    z-index: 1;
}

.ci-reg-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 32px;
    line-height: 0;
    text-decoration: none;
}

.ci-reg-logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-height: 140px;
    max-width: 420px;
    object-fit: contain;
    filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.5));
}

.ci-reg-eyebrow {
    color: #d6c897;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 3.5px;
    margin: 0 0 8px;
    font-weight: 600;
}

.ci-reg-title {
    font-family: 'Cardo', serif;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 8px;
    color: #ffffff;
    font-weight: 400;
}

.ci-reg-title span {
    color: #d6c897;
    font-style: italic;
}

.ci-reg-subtitle {
    color: #d8d4cb;
    font-size: 14px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 0 14px;
}

.ci-reg-subtitle .required {
    color: #f1c777;
}

.ci-reg-event {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 200, 151, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 100%;
}

.ci-reg-event-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(182, 154, 58, 0.28);
}

.ci-reg-event-body {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.ci-reg-event-name {
    font-family: 'Cardo', serif;
    color: #ffffff;
    font-size: 17px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.ci-reg-event-date {
    color: #d6c897;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 4px 0 0;
    font-weight: 500;
}

/* ---------- Card ---------- */
.ci-reg-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(143, 115, 15, 0.08);
    border: 1px solid #f1e7c8;
    padding: 12px 32px 32px;
}

/* ---------- Section ---------- */
.ci-section {
    padding: 22px 0 4px;
    border-bottom: 1px dashed #ece4cf;
}

.ci-section:last-of-type {
    border-bottom: none;
}

.ci-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.ci-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #faf3df 0%, #ece4cf 100%);
    color: #8f730f;
    font-family: 'Cardo', serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.ci-section-head h3 {
    font-family: 'Cardo', serif;
    font-size: 20px;
    margin: 2px 0 2px;
    color: #1d1d1d;
    font-weight: 600;
}

.ci-section-head p {
    margin: 0;
    font-size: 13px;
    color: #6f6a5b;
}

/* ---------- Fields ---------- */
.ci-reg-card .ci-field {
    margin-bottom: 18px;
}

.ci-reg-card .form-label {
    display: block;
    color: #5b4a16;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ci-reg-card .form-label .required {
    color: #c44d4d;
    margin-left: 2px;
}

.ci-reg-card .form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: #fbf8ef;
    border: 1px solid #ece4cf;
    border-radius: 10px;
    color: #1d1d1d;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.ci-reg-card select.form-control {
    height: 46px;
    min-height: 46px;
    padding: 0 40px 0 14px;
    line-height: 46px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fbf8ef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238f730f' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.ci-reg-card select.form-control:focus {
    background-color: #ffffff;
}

.ci-reg-card .form-control:focus {
    border-color: #d6c897;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(214, 200, 151, 0.18);
}

.ci-reg-card textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.ci-reg-card .form-control::placeholder {
    color: #a59f8c;
}

.ci-reg-card .form-control.border-red {
    border-color: #c44d4d !important;
    box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.15);
}

.ci-reg-card .select2-container--default .select2-selection--single,
.ci-reg-card .select2-container .select2-selection--single,
.ci-reg-card .select2-selection--single {
    background: #fbf8ef !important;
    background-color: #fbf8ef !important;
    border: 1px solid #ece4cf !important;
    border-radius: 10px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 6px !important;
    box-shadow: none !important;
}

.ci-reg-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    color: #1d1d1d !important;
    padding-left: 10px !important;
    background: transparent !important;
}

.ci-reg-card .select2-container--default .select2-selection--single .select2-selection__placeholder,
.ci-reg-card .select2-selection__placeholder {
    color: #8a8470 !important;
}

.ci-reg-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

/* Focused / open state — soft gold ring matching the .form-control focus */
.ci-reg-card .select2-container--default.select2-container--focus .select2-selection--single,
.ci-reg-card .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #b69a3a !important;
    box-shadow: 0 0 0 3px rgba(182, 154, 58, 0.16) !important;
    background: #ffffff !important;
}

/* Hide cream flash from the underlying <select> before Select2 wraps it. */
.ci-reg-card select.select2-hidden-accessible {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ci-reg-card .error-msg {
    display: block;
    font-size: 12px;
    color: #c44d4d;
    margin-top: 6px;
    min-height: 14px;
}

.ci-reg-card .error-msg:not(:empty):has(.ci-field-notice),
.ci-buyer-form .error-msg:not(:empty):has(.ci-field-notice) {
    color: inherit;
    min-height: 0;
    margin-top: 10px;
}

/* Duplicate registration error notice */
.ci-field-notice {
    display: block;
    width: 100%;
}

.ci-field-notice__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fdfbf3 0%, #faf5e7 100%);
    border: 1px solid #ece5d3;
    border-left: 4px solid #ece5d3;
    border-radius: 12px;
}

.ci-field-notice__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ci-field-notice__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #c44d4d;
    box-shadow: 0 4px 12px rgba(196, 77, 77, 0.12);
    font-size: 16px;
}

.ci-field-notice__title {
    margin: 0;
    font-family: 'Cardo', serif;
    font-size: 16px;
    font-weight: 600;
    color: #c44d4d;
    line-height: 1.35;
}

.ci-field-notice__text {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #6e7180;
}

.ci-field-notice__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 2px;
    padding: 11px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    border: none;
    color: #1d1408 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ci-field-notice__link:hover {
    color: #1d1408 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(182, 154, 58, 0.28);
}

.ci-field-notice__link .fa {
    font-size: 12px;
}

@media (max-width: 575px) {
    .ci-field-notice__title {
        font-size: 15px;
    }

    .ci-field-notice__link {
        width: 100%;
    }
}

/* ---------- Booth options ---------- */
.ci-booth-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.ci-booth-option {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.ci-booth-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.ci-booth-option .ci-booth-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid #ece4cf;
    background: #fbf8ef;
    color: #5b4a16;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ci-booth-option .ci-booth-tick {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #d6c897;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.2s ease;
}

.ci-booth-option .ci-booth-tick i {
    font-size: 11px;
    color: transparent;
}

.ci-booth-option:hover .ci-booth-label {
    border-color: #d6c897;
}

.ci-booth-option input[type="radio"]:checked + .ci-booth-label {
    border-color: #b69a3a;
    background: linear-gradient(135deg, #faf3df 0%, #f3e9c4 100%);
    color: #6b540a;
    box-shadow: 0 8px 22px rgba(182, 154, 58, 0.18);
}

.ci-booth-option input[type="radio"]:checked + .ci-booth-label .ci-booth-tick {
    background: #b69a3a;
    border-color: #b69a3a;
}

.ci-booth-option input[type="radio"]:checked + .ci-booth-label .ci-booth-tick i {
    color: #ffffff;
}

/* ---------- Price panel ---------- */
.ci-price-panel {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2620 100%);
    border-radius: 14px;
    padding: 18px 22px;
    margin-top: 14px;
    color: #ffffff;
    border: 1px solid rgba(214, 200, 151, 0.25);
}

.ci-price-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ci-price-eyebrow {
    color: #d6c897;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.ci-price-amount {
    font-family: 'Cardo', serif;
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
}

.ci-price-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12.5px;
    color: #d6c897;
    text-decoration: none;
    cursor: pointer;
}

.ci-price-toggle:hover {
    color: #ffffff;
}

.ci-price-detail {
    margin-top: 14px;
    border-top: 1px dashed rgba(214, 200, 151, 0.25);
    padding-top: 14px;
}

.ci-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #d8d4cb;
    padding: 4px 0;
}

.ci-price-row-total {
    border-top: 1px dashed rgba(214, 200, 151, 0.25);
    padding-top: 8px;
    margin-top: 4px;
    font-weight: 700;
    color: #ffffff;
}

.ci-price-row-total span:last-child {
    color: #d6c897;
}

.ci-price-note {
    font-size: 12px;
    color: #b2ad9e;
    margin: 10px 0 0;
    line-height: 1.55;
}

/* ---------- Privilege panel ---------- */
.ci-privilege-panel {
    background: #faf3df;
    border: 1px dashed #d6c897;
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 16px;
}

.ci-privilege-panel h4 {
    font-family: 'Cardo', serif;
    font-size: 16px;
    color: #6b540a;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ci-privilege-panel h4 i {
    color: #b69a3a;
}

.ci-privilege-panel .privilege {
    font-size: 13.5px;
    color: #5b4a16;
    line-height: 1.6;
}

/* ---------- Chip group (show participants) ---------- */
.ci-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ci-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.ci-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.ci-chip span {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1.5px solid #ece4cf;
    background: #fbf8ef;
    color: #5b4a16;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ci-chip:hover span {
    border-color: #d6c897;
}

.ci-chip input[type="checkbox"]:checked + span {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    border-color: #b69a3a;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(182, 154, 58, 0.22);
}

/* ---------- File inputs ---------- */
.ci-uploader {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px dashed #d6c897;
    background: #fbf8ef;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin: 0;
}

.ci-uploader:hover {
    background: #faf3df;
    border-color: #b69a3a;
    box-shadow: 0 8px 22px rgba(182, 154, 58, 0.14);
}

.ci-uploader.is-filled {
    border-style: solid;
    border-color: #b69a3a;
    background: #faf3df;
}

.ci-uploader-icon {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #faf3df 0%, #ece4cf 100%);
    color: #8f730f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.ci-uploader.is-filled .ci-uploader-icon {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408;
}

.ci-uploader-icon-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ci-uploader.is-filled .ci-uploader-icon-default {
    display: none;
}

.ci-uploader-preview {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.ci-uploader.is-filled .ci-uploader-preview {
    display: flex;
}

.ci-uploader-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-uploader-pdf {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c0392b 0%, #962d22 100%);
    color: #ffffff;
    line-height: 1;
    padding: 4px;
}

.ci-uploader-pdf svg {
    width: 22px;
    height: 22px;
}

.ci-uploader-pdf-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-top: 2px;
}

.ci-uploader[data-kind="pdf"] .ci-uploader-preview {
    background: transparent;
}

.ci-uploader[data-kind="pdf"] .ci-uploader-pdf {
    display: flex;
}

.ci-uploader[data-kind="pdf"] .ci-uploader-preview img,
.ci-uploader[data-kind="image"] .ci-uploader-pdf {
    display: none;
}

.ci-uploader[data-kind="file"] .ci-uploader-preview img,
.ci-uploader[data-kind="file"] .ci-uploader-pdf {
    display: none;
}

.ci-uploader[data-kind="file"] .ci-uploader-icon-default {
    display: inline-flex;
    color: #ffffff;
}

.ci-uploader.is-filled[data-kind="file"] .ci-uploader-icon {
    color: #ffffff;
}

.ci-uploader-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.ci-uploader-title {
    font-size: 13px;
    color: #5b4a16;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.ci-uploader-name {
    font-size: 12px;
    color: #8a8470;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ci-uploader.is-filled .ci-uploader-name {
    color: #6b540a;
    font-weight: 500;
}

.ci-uploader-cta {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #1d1408;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    padding: 8px 14px;
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(182, 154, 58, 0.22);
}

.ci-uploader-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.ci-uploader.border-red,
.ci-uploader-input.border-red + .ci-uploader,
.ci-field .ci-uploader.has-error {
    border-color: #c44d4d;
    background: #fff4f4;
    box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.12);
}

.ci-file-hint {
    display: block;
    font-size: 11.5px;
    color: #8a8470;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* ---------- Agreement ---------- */
.ci-agree-box {
    background: #faf7ef;
    border: 1px dashed #d6c897;
    border-radius: 12px;
    padding: 14px 18px;
}

.ci-agree-box .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.ci-agree-box .form-check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #b69a3a;
    cursor: pointer;
    flex-shrink: 0;
}

.ci-agree-box .form-check-label {
    color: #5b4a16;
    font-size: 13.5px;
    line-height: 1.5;
    cursor: pointer;
}

.ci-agree-box .form-check-label .required {
    color: #c44d4d;
}

/* ---------- Submit ---------- */
.ci-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    text-align: center;
}

.ci-submit-row--split {
    justify-content: space-between;
}

.ci-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    height: 54px;
    padding: 0 32px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408 !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ci-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(182, 154, 58, 0.32);
    filter: brightness(1.02);
    color: #1d1408 !important;
}

.ci-submit-btn i {
    font-size: 12px;
}

.ci-submit-help {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: #8a8470;
}

.ci-payment-summary {
    margin-top: 8px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2620 100%);
    border: 1px solid rgba(214, 200, 151, 0.25);
    color: #ffffff;
}

.ci-payment-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13.5px;
    color: #d8d4cb;
}

.ci-payment-summary__row strong {
    color: #ffffff;
    font-weight: 600;
}

.ci-payment-summary__row--total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(214, 200, 151, 0.25);
    font-size: 15px;
}

.ci-payment-summary__row--total span,
.ci-payment-summary__row--total strong {
    color: #d6c897;
}

.ci-payment-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    height: 54px;
    padding: 0 24px;
    border-radius: 12px;
    border: 1px solid #d6b66a;
    background: #ffffff;
    color: #8e6b27 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 6px 18px rgba(180, 139, 60, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ci-payment-back:hover {
    color: #6f5018 !important;
    border-color: #b48b3c;
    box-shadow: 0 10px 24px rgba(180, 139, 60, 0.16);
    transform: translateY(-1px);
}

button.ci-payment-back {
    appearance: none;
    -webkit-appearance: none;
}

@media (max-width: 575px) {
    .ci-submit-row {
        flex-direction: column;
    }

    .ci-submit-row .ci-submit-btn,
    .ci-payment-back {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Closed state ---------- */
.ci-closed {
    text-align: center;
    padding: 40px 24px;
}

.ci-closed-icon {
    font-size: 38px;
    color: #b69a3a;
    margin-bottom: 14px;
}

.ci-closed-message {
    color: #5b4a16;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.ci-closed-message * {
    color: inherit !important;
}

.ci-closed-btn {
    min-width: 200px;
}

/* ---------- Exhibitor / Buyer reg: hide global header/footer ---------- */
body:has(.ci-reg-wrapper) header.main-header,
body:has(.ci-reg-wrapper) .ci-header,
body:has(.ci-reg-wrapper) footer.footer,
body:has(.ci-buyer-wrapper) header.main-header,
body:has(.ci-buyer-wrapper) .main-header,
body:has(.ci-buyer-wrapper) .ci-header,
body:has(.ci-buyer-wrapper) footer.footer {
    display: none !important;
}

/* ---------- Exhibitor reg responsive ---------- */
@media (max-width: 767px) {
    .ci-reg-wrapper {
        padding: 15px 0 50px;
    }
    .ci-reg-hero {
        padding: 22px;
    }
    .ci-reg-logo {
        margin-bottom: 24px;
    }
    .ci-reg-logo img {
        max-height: 96px;
        max-width: 280px;
    }
    .ci-reg-title {
        font-size: 26px;
    }
    .ci-reg-card {
        padding: 6px 18px 24px;
    }
    .ci-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================
   ONLINE BUYER REGISTRATION FORM
   Used by resources/views/OnlineBuyer/registration.blade.php
   ============================================================ */
.ci-buyer-wrapper {
    padding: 30px 0 60px;
    background: #ffffff;
    min-height: 70vh;
    font-family: 'Montserrat', sans-serif;
}

.ci-buyer-wrapper > .container,
section.ci-buyer-wrapper > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Buyer-specific overrides for shared selectors */
.ci-buyer-wrapper .ci-reg-logo img {
    max-height: 130px;
    max-width: 380px;
}

.ci-buyer-wrapper .ci-reg-subtitle {
    margin: 0;
}

/* Buyer form card — mirrors the exhibitor form card so both registrations
   share the same look: white rounded card with a subtle gold border and
   soft shadow, sitting on the white page wrapper. */
.ci-buyer-wrapper .ci-reg-card {
    background: #ffffff;
    border: 1px solid #f1e7c8;
    box-shadow: 0 18px 50px rgba(143, 115, 15, 0.08);
    border-radius: 18px;
    padding: 32px;
}

/* Section spacing inside the buyer card */
.ci-buyer-form .ci-section .row {
    margin-top: 0;
}

.ci-buyer-form .ci-section .form-group {
    margin-bottom: 18px;
}

.ci-buyer-form .row + .row {
    margin-top: 6px;
}

/* ---------- Choice cards (buyer type) ---------- */
.ci-choice-head {
    text-align: center;
    margin-bottom: 22px;
}

.ci-choice-eyebrow {
    display: inline-block;
    color: #b69a3a;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.ci-choice-head h2 {
    font-family: 'Cardo', serif;
    font-size: 24px;
    color: #1d1d1d;
    margin: 0 0 6px;
}

.ci-choice-head p {
    color: #6f6a5b;
    font-size: 13.5px;
    margin: 0;
}

.ci-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 6px;
    align-items: stretch;
}

.ci-choice-card {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    display: block;
    height: 100%;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 14px !important;
    color: inherit !important;
    font-weight: 400 !important;
}

.ci-choice-card input[type="radio"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ci-choice-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    border: 1.5px solid #ece4cf;
    background: #fbf8ef;
    transition: all 0.2s ease;
    height: 100%;
    min-height: 132px;
    box-sizing: border-box;
}

.ci-choice-card:hover .ci-choice-inner {
    border-color: #d6c897;
    background: #faf3df;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(182, 154, 58, 0.14);
}

.ci-choice-card input[type="radio"]:checked + .ci-choice-inner {
    border-color: #b69a3a;
    background: linear-gradient(135deg, #faf3df 0%, #f3e9c4 100%);
    box-shadow: 0 12px 30px rgba(182, 154, 58, 0.2);
}

.ci-choice-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    color: #8f730f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ece4cf;
}

.ci-choice-card input[type="radio"]:checked + .ci-choice-inner .ci-choice-icon {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408;
    border-color: transparent;
}

.ci-choice-body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.ci-choice-title {
    display: block;
    font-family: 'Cardo', serif;
    font-size: 19px;
    color: #1d1d1d;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.25;
}

.ci-choice-desc {
    display: block;
    font-size: 13px;
    color: #6f6a5b;
    line-height: 1.5;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400;
}

.ci-choice-tick {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #d6c897;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ci-choice-card input[type="radio"]:checked + .ci-choice-inner .ci-choice-tick {
    background: #b69a3a;
    border-color: #b69a3a;
    color: #ffffff;
}

/* ---------- OTP / Already Registered ---------- */
.ci-otp-row {
    margin-top: 10px;
}

.ci-otp-card {
    position: relative;
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, #faf3df 0%, #ffffff 100%);
    border: 1px solid #e7dab1;
    border-radius: 16px;
}

/* ---------- Back to previous step button ---------- */
.ci-back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 11px;
    border-radius: 999px;
    border: 1px solid #e7dab1;
    background: #ffffff;
    color: #6b540a;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(143, 115, 15, 0.08);
}

.ci-back-btn:hover,
.ci-back-btn:focus {
    background: linear-gradient(135deg, #faf3df 0%, #f3e9c4 100%);
    border-color: #d6c897;
    color: #5b4a16;
    transform: translateX(-2px);
    box-shadow: 0 6px 16px rgba(143, 115, 15, 0.14);
    outline: none;
}

.ci-back-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.ci-back-btn:hover svg {
    transform: translateX(-2px);
}

.ci-back-btn-standalone {
    position: static;
    margin: 0 0 18px;
}

.ci-otp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    color: #1d1408;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 10px 22px rgba(182, 154, 58, 0.28);
}

.ci-otp-card h3 {
    font-family: 'Cardo', serif;
    font-size: 22px;
    margin: 0 0 6px;
    color: #1d1d1d;
}

.ci-otp-card p {
    color: #6f6a5b;
    font-size: 13.5px;
    margin: 0 0 18px;
}

.ci-otp-card .ci-field {
    text-align: left;
}

/* ---------- Events card grid ---------- */
.ci-events-block {
    background: #ffffff;
    border: 1px solid #ece4cf;
    border-radius: 16px;
    padding: 22px 22px 20px;
    margin-bottom: 22px;
}

/* When the events block sits inside a numbered section, drop the
   outer card-in-card chrome so there's only one visible container. */
.ci-section .ci-events-block {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

.ci-events-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.ci-events-title h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1d;
    margin: 0 0 4px;
    letter-spacing: 0.2px;
    text-transform: none;
}

.ci-events-title h4 .required {
    color: #c44d4d;
    margin-left: 2px;
}

.ci-events-title p {
    font-size: 13px;
    color: #6f6a5b;
    margin: 0;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.ci-events-actions {
    display: inline-flex;
    gap: 8px;
    flex-shrink: 0;
}

.ci-events-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #ece4cf;
    background: #ffffff;
    color: #5b4a16;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
}

.ci-events-action:hover,
.ci-events-action:focus {
    background: #faf3df;
    border-color: #d6c897;
    color: #6b540a;
    outline: none;
}

.ci-events-action.ci-events-select-all {
    border-color: #b69a3a;
    color: #6b540a;
    background: #faf3df;
}

.ci-events-action.ci-events-select-all:hover {
    background: linear-gradient(135deg, #faf3df 0%, #f3e9c4 100%);
}

.ci-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 0;
}

.ci-event-card {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    color: inherit !important;
    font-size: 14px !important;
}

.ci-event-card .ci-event-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.ci-event-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1.5px solid #ece4cf;
    background: #ffffff;
    transition: all 0.2s ease;
    min-height: 80px;
}

.ci-event-card:hover .ci-event-card-inner {
    border-color: #d6c897;
    background: #faf7ef;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(143, 115, 15, 0.1);
}

.ci-event-card .ci-event-input:checked + .ci-event-card-inner {
    border-color: #b69a3a;
    background: linear-gradient(135deg, #faf3df 0%, #ffffff 100%);
    box-shadow: 0 10px 24px rgba(182, 154, 58, 0.18);
}

.ci-event-card .ci-event-input:focus-visible + .ci-event-card-inner {
    box-shadow: 0 0 0 3px rgba(214, 200, 151, 0.35);
}

.ci-event-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.ci-event-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #1d1d1d;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
}

.ci-event-card-date {
    font-size: 12.5px;
    color: #8a8470;
    letter-spacing: 0.2px;
    text-transform: none;
    font-weight: 500;
}

.ci-event-card-tick {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #d6c897;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.ci-event-card .ci-event-input:checked + .ci-event-card-inner .ci-event-card-tick {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    border-color: #b69a3a;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(182, 154, 58, 0.3);
}

@media (max-width: 575px) {
    .ci-events-block {
        padding: 18px;
    }
    .ci-events-head {
        flex-direction: column;
        align-items: stretch;
    }
    .ci-events-actions {
        width: 100%;
    }
    .ci-events-action {
        flex: 1;
    }
    .ci-event-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Section divider for Online Buyer N ---------- */
.ci-buyer-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ece4cf;
}

.ci-buyer-divider-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #faf3df 0%, #ece4cf 100%);
    color: #8f730f;
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.ci-buyer-divider h4 {
    font-family: 'Cardo', serif;
    font-size: 19px;
    color: #1d1d1d;
    margin: 0;
    position: static !important;
    border: 0 !important;
}

/* ---------- Form labels & inputs ---------- */
.ci-buyer-form .form-label,
.ci-buyer-form label {
    display: block;
    color: #5b4a16;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ci-buyer-form .form-label .required,
.ci-buyer-form label .required {
    color: #c44d4d;
    margin-left: 2px;
    text-transform: none;
    letter-spacing: 0;
}

/* The .ci-uploader is itself a <label> for the hidden file input, so the
   generic ".ci-buyer-form label" rule above tries to turn it into a
   block-uppercase header. Restore the proper horizontal uploader styling
   and stop text-transform from leaking into its children. */
.ci-buyer-form label.ci-uploader {
    display: flex;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: inherit;
    font-weight: 400;
    color: inherit;
}

.ci-buyer-form .ci-uploader,
.ci-buyer-form .ci-uploader * {
    text-transform: none;
    letter-spacing: 0;
}

.ci-buyer-form .ci-uploader .ci-uploader-title {
    font-size: 13px;
    color: #5b4a16;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.ci-buyer-form .ci-uploader .ci-uploader-name {
    font-size: 12px;
    color: #8a8470;
    font-weight: 500;
}

.ci-buyer-form .ci-uploader .ci-uploader-cta {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #1d1408;
}

/* ---------- Checkbox / Radio option chips ----------
   The existing markup is .form-check > input.form-check-input + label.form-check-label.
   We hide the native control and turn the label into a soft, pill-style chip
   that highlights with the brand gold when selected. Works for both
   checkbox groups (multi-select) and radio groups (single-select).

   IMPORTANT: A global rule in style.css ("`.form-check { width:25px; height:25px }`")
   would otherwise squash this container and leak the native checkbox through.
   The !important declarations below specifically defeat that rule. */
.ci-buyer-form .form-check {
    float: none !important;
    display: inline-flex !important;
    position: relative !important;
    align-items: stretch !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 10px 10px 0 !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
    overflow: visible !important;
}

.ci-buyer-form .form-check .form-check-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 2;
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
}

.ci-buyer-form .form-check .form-check-label {
    display: inline-flex !important;
    position: relative;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 14px !important;
    margin: 0 !important;
    border: 1.5px solid #ece4cf !important;
    background: #fbf8ef !important;
    border-radius: 999px !important;
    color: #5b4a16 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    user-select: none;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    white-space: nowrap;
}

/* Custom indicator drawn inside the label using ::before */
.ci-buyer-form .form-check .form-check-label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #d6c897;
    background: #ffffff;
    box-sizing: border-box;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Square box for checkboxes */
.ci-buyer-form .form-check .form-check-input[type="checkbox"] + .form-check-label::before {
    border-radius: 5px;
}

/* Circle for radio buttons */
.ci-buyer-form .form-check .form-check-input[type="radio"] + .form-check-label::before {
    border-radius: 50%;
}

/* Hover state */
.ci-buyer-form .form-check:hover .form-check-label {
    border-color: #d6c897;
    background: #faf3df;
    box-shadow: 0 4px 12px rgba(143, 115, 15, 0.08);
}

/* Selected state — pill turns into a solid gold chip */
.ci-buyer-form .form-check .form-check-input:checked + .form-check-label {
    border-color: #b69a3a !important;
    background: linear-gradient(135deg, #faf3df 0%, #ece4cf 100%) !important;
    color: #1d1408 !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(182, 154, 58, 0.18) !important;
}

/* Selected indicator — filled gold with a white tick / dot */
.ci-buyer-form .form-check .form-check-input:checked + .form-check-label::before {
    border-color: #b69a3a;
    background: #b69a3a;
    box-shadow: 0 2px 4px rgba(182, 154, 58, 0.35);
}

.ci-buyer-form .form-check .form-check-input[type="checkbox"]:checked + .form-check-label::before {
    background: #b69a3a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 12px 12px no-repeat;
}

.ci-buyer-form .form-check .form-check-input[type="radio"]:checked + .form-check-label::before {
    background: radial-gradient(circle at center, #ffffff 0 3.5px, #b69a3a 4px 100%);
}

/* Focus accessibility ring */
.ci-buyer-form .form-check .form-check-input:focus-visible + .form-check-label {
    outline: 2px solid #b69a3a;
    outline-offset: 2px;
}

/* Disabled state */
.ci-buyer-form .form-check .form-check-input:disabled + .form-check-label {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f5f0e2;
}

/* Error / validation ring */
.ci-buyer-form .form-check .form-check-input.border-red + .form-check-label {
    border-color: #c44d4d;
    background: #fff4f4;
    box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.12);
}

@media (max-width: 575px) {
    .ci-buyer-form .form-check {
        width: 100%;
        margin-right: 0;
    }

    .ci-buyer-form .form-check .form-check-label {
        width: 100%;
        justify-content: flex-start;
    }
}

.ci-buyer-form .form-group {
    margin-bottom: 18px;
    font-weight: 400;
    font-size: 14px;
}

.ci-buyer-form .form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: #fbf8ef;
    border: 1px solid #ece4cf;
    border-radius: 10px;
    color: #1d1d1d;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    line-height: 1.4;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.ci-buyer-form select.form-control {
    height: 46px;
    min-height: 46px;
    padding: 0 40px 0 14px;
    line-height: 46px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fbf8ef;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238f730f' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    cursor: pointer;
}

.ci-buyer-form select.form-control:focus {
    background-color: #ffffff;
}

.ci-buyer-form .form-control:focus {
    border-color: #d6c897;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(214, 200, 151, 0.18);
}

.ci-buyer-form textarea.form-control {
    min-height: 92px;
    resize: vertical;
}

.ci-buyer-form .form-control::placeholder {
    color: #a59f8c;
}

.ci-buyer-form .form-control.border-red {
    border-color: #c44d4d !important;
    box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.15);
}

.ci-buyer-form .select2-container--default .select2-selection--single,
.ci-buyer-form .select2-container .select2-selection--single,
.ci-buyer-form .select2-selection--single {
    background: #fbf8ef !important;
    background-color: #fbf8ef !important;
    border: 1px solid #ece4cf !important;
    border-radius: 10px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 6px !important;
    box-shadow: none !important;
}

.ci-buyer-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    color: #1d1d1d !important;
    padding-left: 10px !important;
    background: transparent !important;
}

.ci-buyer-form .select2-container--default .select2-selection--single .select2-selection__placeholder,
.ci-buyer-form .select2-selection__placeholder {
    color: #8a8470 !important;
}

.ci-buyer-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

/* Focused / open state — soft gold ring matching the .form-control focus */
.ci-buyer-form .select2-container--default.select2-container--focus .select2-selection--single,
.ci-buyer-form .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #b69a3a !important;
    box-shadow: 0 0 0 3px rgba(182, 154, 58, 0.16) !important;
    background: #ffffff !important;
}

/* The original hidden <select.form-control.select2> still receives the
   ".form-control" cream background rule and briefly flashes before Select2
   initializes. Hide it once Select2 has replaced it with its own widget. */
.ci-buyer-form select.select2-hidden-accessible {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ci-buyer-form .error-msg {
    display: block;
    font-size: 12px;
    color: #c44d4d;
    margin-top: 6px;
    min-height: 14px;
}

.ci-buyer-form .error-msg:not(:empty):has(.ci-field-notice) {
    color: inherit;
    min-height: 0;
    margin-top: 10px;
}

.ci-buyer-form .form-check {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 4px 0;
}

.ci-buyer-form .form-check .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ci-buyer-form .form-check .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid #ece4cf;
    background: #fbf8ef;
    color: #5b4a16;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

.ci-buyer-form .form-check .form-check-label:hover {
    border-color: #d6c897;
}

.ci-buyer-form .form-check .form-check-input:checked + .form-check-label {
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%);
    border-color: #b69a3a;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(182, 154, 58, 0.22);
}

.ci-buyer-form .radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0 8px 8px 0;
    font-weight: 500;
    cursor: pointer;
}

.ci-buyer-form .radio-inline input[type="radio"],
.ci-buyer-form .radio-inline input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ci-buyer-form .radio-inline > input + * {
    display: none;
}

.ci-buyer-form .form-check.float-start {
    display: inline-flex !important;
    float: none !important;
    margin: 0 8px 8px 0;
}

.ci-buyer-form .form-check.float-start .form-check-input {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    margin: 0 6px 0 0;
    width: 16px;
    height: 16px;
    accent-color: #b69a3a;
}

.ci-buyer-form .form-check.float-start .form-check-label {
    background: transparent;
    border: none;
    color: #1d1d1d;
    padding: 0;
    box-shadow: none;
    font-size: 13.5px;
    font-weight: 500;
}

.ci-buyer-form input[type="file"].form-control {
    padding: 10px 14px;
    cursor: pointer;
}

/* ---------- Buyer submit button ---------- */
.ci-buyer-wrapper .ci-submit-row {
    margin-top: 18px;
}

.ci-buyer-wrapper .ci-submit-btn,
.ci-buyer-form .btn.btn-primary,
.ci-buyer-form .btn-contact {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 240px;
    height: 50px;
    padding: 0 28px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #d6c897 0%, #b69a3a 100%) !important;
    color: #1d1408 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 10px 24px rgba(182, 154, 58, 0.22);
}

.ci-buyer-wrapper .ci-submit-btn:hover,
.ci-buyer-form .btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(182, 154, 58, 0.3);
    filter: brightness(1.02);
    color: #1d1408 !important;
}

.ci-buyer-form .add-more-button .btn.btn-primary {
    min-width: 0;
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
    letter-spacing: 1.5px;
    background: #fbf8ef !important;
    color: #6b540a !important;
    border: 1px dashed #d6c897 !important;
    box-shadow: none;
}

.ci-buyer-form .add-more-button .btn.btn-primary:hover {
    background: #faf3df !important;
    color: #6b540a !important;
}

.ci-buyer-form .btn-outline-danger {
    background: #fbecec !important;
    border: 1px solid #d97a7a !important;
    color: #a23f3f !important;
    border-radius: 999px !important;
    font-size: 12px;
    padding: 2px 10px !important;
}

/* ---------- Buyer closed state override ---------- */
.ci-buyer-wrapper .ci-closed-icon {
    color: #b69a3a;
    margin-bottom: 14px;
    display: inline-flex;
    font-size: inherit;
}

/* ---------- Buyer responsive ---------- */
@media (max-width: 767px) {
    .ci-buyer-wrapper {
        padding: 15px 0 50px;
    }
    .ci-buyer-wrapper .ci-reg-hero {
        padding: 22px;
    }
    .ci-buyer-wrapper .ci-reg-logo img {
        max-height: 90px;
        max-width: 250px;
    }
    .ci-buyer-wrapper .ci-reg-title {
        font-size: 26px;
    }
    .ci-buyer-wrapper .ci-reg-card {
        padding: 6px 18px 24px;
    }
    .ci-buyer-wrapper .ci-submit-btn,
    .ci-buyer-form .btn.btn-primary {
        width: 100%;
        min-width: 0;
    }
    .ci-choice-grid {
        grid-template-columns: 1fr;
    }
    .ci-choice-inner {
        min-height: 0;
    }
}

/* ---------- Remove / delete button (Add More buyer rows) ----------
   Replaces the cramped "X" outlined pill with a circular trash-icon
   button that fits the buyer form aesthetic while still clearly
   signalling a destructive action. The label text ("Remove") is
   visually hidden but kept for screen-reader users. */
.ci-remove-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #e7c3c3 !important;
    background: #fff4f4 !important;
    color: #b03a3a !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 1 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(176, 58, 58, 0.10) !important;
    transition: background 0.18s ease, border-color 0.18s ease,
                color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
    overflow: hidden;
    float: none !important;
}

.ci-remove-btn svg {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    display: block;
    stroke: currentColor;
}

.ci-remove-btn:hover,
.ci-remove-btn:focus-visible {
    background: #c44d4d !important;
    border-color: #c44d4d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(196, 77, 77, 0.30) !important;
    transform: translateY(-1px);
    outline: none;
}

.ci-remove-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(196, 77, 77, 0.20) !important;
}

/* Visually hidden label for screen-readers */
.ci-remove-btn .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Row toolbar so the buyer header sits on the left and the remove
   button on the right, replacing the awkward "float:right" layout. */
.ci-buyer-row-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 4px;
}

.ci-buyer-row-toolbar .bottom-border {
    margin: 0;
    position: static !important;
}
