@font-face {
    font-family: 'Kia';
    src: url('../assets/fonts/KIAbodyLatinbasic_Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Kia';
    src: url('../assets/fonts/KIAbodyLatinbasic_Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Kia';
    src: url('../assets/fonts/KIAbodyLatinbasic_Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --Kia-black: #05141F;
    --Kia-white: #FFFFFF;
    --Kia-red: #EA0029;
    --Kia-gray: #9EA1A2;
    --Kia-green: #5D7D2B;
    --Kia-yellow: #F3C300;
    --Kia-surface: #F5F7F8;
    --Kia-line: rgba(5, 20, 31, 0.1);
    --Kia-caption: rgba(5, 20, 31, 0.6);
    --Kia-copy: rgba(5, 20, 31, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    letter-spacing: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--Kia-surface) !important;
    color: var(--Kia-black);
    font-family: 'Kia', Arial, Helvetica, sans-serif !important;
    line-height: 1.5;
}

.header,
.topbar {
    background: var(--Kia-white) !important;
    color: var(--Kia-black) !important;
    border-bottom: 1px solid var(--Kia-line);
    box-shadow: none !important;
}

.topbar a {
    color: var(--Kia-black) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.logo {
    max-height: 64px !important;
    width: auto;
}

.banner,
.title-section,
.success-banner {
    background: var(--Kia-black) !important;
    color: var(--Kia-white) !important;
}

/* .footer {
    background: var(--Kia-black) !important;
    color: var(--Kia-white) !important;
} */

.footer small,
.banner p,
.title-section h5,
.success-banner p {
    color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.option-title,
.section-title,
.login-title,
.card-number {
    color: var(--Kia-black) !important;
    font-weight: 700;
}

.banner h1,
.banner h2,
.title-section h2,
.title-section h5,
.success-banner h2,
.footer h5,
.footer h6 {
    color: var(--Kia-black) !important;
}

p,
.page-subtitle,
.login-subtitle,
.option-desc,
.text-muted,
small {
    color: var(--Kia-copy) !important;
}

.footer small,
.footer p {
    color: var(--Kia-copy) !important;
}

.module-card,
.flow-box,
.login-card,
.registration-card,
.option-card,
.main-card,
.card-box,
.success-card,
.chart-box,
.table-box,
.dashboard-card,
.info-box,
.customer-box,
.customer-info,
.ticket-box,
.qr-box,
.reg-id-box,
.stepper,
.step-box {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05) !important;
    color: var(--Kia-black);
}

.module-card:hover,
.option-card:hover,
.dashboard-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.1) !important;
    border-color: var(--Kia-line) !important;
}

.step-box {
    color: var(--Kia-black) !important;
}

.self-card,
.dealer-card {
    background: var(--Kia-white) !important;
    border-color: var(--Kia-line) !important;
}

.icon,
.module-icon,
.option-icon,
.login-icon,
.section-title i,
.success-icon {
    color: var(--Kia-black) !important;
}

.section-title {
    border-bottom: 1px solid var(--Kia-line) !important;
}

.required {
    color: var(--Kia-red) !important;
}

.form-label,
label {
    color: var(--Kia-black);
    font-size: 14px;
    font-weight: 400 !important;
}

.form-control,
.form-select,
textarea.form-control {
    background-color: transparent !important;
    border: 1px solid var(--Kia-line) !important;
    border-radius: 0 !important;
    color: var(--Kia-black) !important;
    font-size: 16px;
    min-height: 30px;
}

.form-control::placeholder {
    color: var(--Kia-caption);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: var(--Kia-black) !important;
    box-shadow: none !important;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
    background: var(--Kia-surface) !important;
    color: rgba(5, 20, 31, 0.4) !important;
}

.input-group-text {
    background: var(--Kia-black) !important;
    border: 1px solid var(--Kia-black) !important;
    border-radius: 0 !important;
    color: var(--Kia-white) !important;
}

.form-check-input {
    background-color: transparent;
    border: 1px solid var(--Kia-line);
    border-radius: 0 !important;
    height: 17px;
    width: 17px;
}

.form-check-input:checked {
    background-color: var(--Kia-black);
    border-color: var(--Kia-black);
}

.btn,
.btn-module,
.btn-login,
.btn-register,
.btn-Kia,
.btn-self,
.btn-dealer,
.btn-scan,
.btn-success-custom,
.btn-custom {
    background: linear-gradient(135deg, #05141F 0%, #1a2a35 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: var(--Kia-white) !important;
    font-family: 'Kia', Arial, Helvetica, sans-serif !important;
    font-size: 15px;
    font-weight: 600 !important;
    min-height: 48px;
    padding: 12px 32px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(5, 20, 31, 0.2) !important;
}

.btn:hover,
.btn:focus,
.btn-module:hover,
.btn-login:hover,
.btn-register:hover,
.btn-Kia:hover,
.btn-self:hover,
.btn-dealer:hover,
.btn-scan:hover,
.btn-success-custom:hover,
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 20, 31, 0.3) !important;
    text-decoration: none !important;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.4;
}

.alert,
.alert-info,
.alert-success,
.alert-warning {
    background: var(--Kia-surface) !important;
    border: 1px solid var(--Kia-line) !important;
    border-left: 4px solid var(--Kia-black) !important;
    border-radius: 8px !important;
    color: var(--Kia-black) !important;
}

.alert-warning,
.required,
.invalid-feedback {
    color: var(--Kia-red) !important;
}

.badge,
.status-badge {
    background: var(--Kia-black) !important;
    border-radius: 8px !important;
    color: var(--Kia-white) !important;
}

.badge.bg-warning {
    background: var(--Kia-yellow) !important;
    color: var(--Kia-black) !important;
}

.table {
    color: var(--Kia-black);
}

.table-box {
    overflow-x: auto;
}

.table-box .table {
    min-width: 640px;
}

.table-dark,
.table-dark th {
    background: var(--Kia-black) !important;
    color: var(--Kia-white) !important;
}

.bg1,
.bg2,
.bg3,
.bg4,
.bg5,
.bg6,
.bg7,
.bg8 {
    background: var(--Kia-black) !important;
    color: var(--Kia-white) !important;
}

.bg1 h6,
.bg2 h6,
.bg3 h6,
.bg4 h6,
.bg5 h6,
.bg6 h6,
.bg7 h6,
.bg8 h6,
.bg1 .card-number,
.bg2 .card-number,
.bg3 .card-number,
.bg4 .card-number,
.bg5 .card-number,
.bg6 .card-number,
.bg7 .card-number,
.bg8 .card-number {
    color: var(--Kia-white) !important;
}

.reg-id {
    color: var(--Kia-black) !important;
    letter-spacing: 0 !important;
}

a {
    color: var(--Kia-black);
}

.navbar-custom {
    background: white;
    border-bottom: 1px solid var(--Kia-line);
}

a:hover,
a:focus {
    color: var(--Kia-black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .logo {
        max-height: 48px !important;
    }

    .registration-card,
    .login-card,
    .main-card,
    .card-box,
    .success-card {
        padding: 24px !important;
    }

    .page-title {
        font-size: 30px !important;
    }
}

/* ==========================================================================
   PAGE-SPECIFIC SCOPED STYLES
   ========================================================================== */

/* --- Index Page --- */
.page-index .hero {
    background: linear-gradient(rgba(5, 20, 31, .55),
            rgba(5, 20, 31, .65)),
        url("../images/banner.jpg") center center/cover no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: white;
}

.page-index .hero h1 {
    color: white !important;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
}

.page-index .hero p {
    color: rgba(255, 255, 255, .85) !important;
    font-size: 18px;
    max-width: 650px;
}

.page-index .logo {
    height: 48px;
}

.page-index .info-card {
    padding: 35px;
    text-align: center;
    height: 100%;
}

.page-index .info-card i {
    font-size: 40px;
    margin-bottom: 20px;
}

.page-index .section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
}

.page-index .feature {
    margin-bottom: 18px;
    font-size: 17px;
}

.page-index .feature i {
    width: 30px;
}

.page-index .register-box {
    background: white;
    border: 1px solid var(--Kia-line);
    border-radius: 8px;
    padding: 50px;
    text-align: center;
}

.page-index footer {
    padding: 30px 0;
    margin-top: 80px;
}

@media(max-width:768px) {
    .page-index .hero {
        min-height: 500px;
        text-align: center;
    }

    .page-index .hero h1 {
        font-size: 36px;
    }

    .page-index .register-box {
        padding: 30px;
    }
}

/* --- Self Registration & Customer Register Pages --- */
.page-customer-register,
.page-self-register {
    background: rgba(5, 20, 31, .03) !important;
}

.page-customer-register .header,
.page-self-register .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-customer-register .logo,
.page-self-register .logo {
    max-height: 48px !important;
}

.page-customer-register .banner,
.page-self-register .banner {
    background: #05141F;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.page-customer-register .banner h1,
.page-self-register .banner h1 {
    font-weight: 700;
}

.page-customer-register .stepper,
.page-self-register .stepper {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-top: -25px;
    box-shadow: none;
}

.page-customer-register .active-step,
.page-self-register .active-step {
    color: #05141F;
    font-weight: 700;
}

.page-customer-register .registration-card,
.page-self-register .registration-card {
    background: #fff;
    border-radius: 8px;
    padding: 35px;
    margin-top: 25px;
    box-shadow: none;
}

.page-customer-register .section-title,
.page-self-register .section-title {
    font-size: 22px;
    color: #05141F;
    font-weight: 700;
    border-bottom: 2px solid rgba(5, 20, 31, .2);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.page-customer-register .form-label,
.page-self-register .form-label {
    font-weight: 600;
}

.page-customer-register .form-control,
.page-customer-register .form-select,
.page-self-register .form-control,
.page-self-register .form-select {
    border-radius: 10px;
    height: 50px;
}

.page-customer-register textarea.form-control,
.page-self-register textarea.form-control {
    height: 120px;
}

.page-customer-register .required,
.page-self-register .required {
    color: #EA0029;
}

.page-customer-register .btn-register,
.page-self-register .btn-register {
    background: #05141F;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.page-customer-register .btn-register:hover,
.page-self-register .btn-register:hover {
    background: #05141F;
}

.page-customer-register .footer,
.page-self-register .footer {
    background: #05141F;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

.page-customer-register .info-box,
.page-self-register .info-box {
    background: rgba(5, 20, 31, .03);
    border-left: 5px solid #05141F;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

/* --- Search Customer Page --- */
.page-search-customer {
    background: rgba(5, 20, 31, .03) !important;
}

.page-search-customer .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-search-customer .logo {
    height: 80px;
}

.page-search-customer .banner {
    background: #05141F;
    color: white;
    text-align: center;
    padding: 30px;
}

.page-search-customer .card-box {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: none;
}

.page-search-customer .section-title {
    color: #05141F;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-search-customer .form-control,
.page-search-customer .form-select {
    height: 50px;
    border-radius: 10px;
}

.page-search-customer .btn-Kia {
    background: #05141F;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.page-search-customer .btn-Kia:hover {
    background: #05141F;
    color: white;
}

.page-search-customer .customer-info {
    background: rgba(5, 20, 31, .03);
    border-left: 5px solid #05141F;
    padding: 20px;
    border-radius: 10px;
}

.page-search-customer .ticket-box {
    background: rgba(5, 20, 31, .03);
    border-radius: 12px;
    padding: 20px;
}

.page-search-customer .footer {
    background: #05141F;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* --- Registration Type Page --- */
.page-registration-type {
    margin: 0;
    padding: 0;
    background: #05141F !important;
    min-height: 100vh;
}

.page-registration-type .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-registration-type .logo {
    max-height: 100px;
}

.page-registration-type .main-section {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

.page-registration-type .registration-card {
    background: #fff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: none;
}

.page-registration-type .page-title {
    font-size: 40px;
    font-weight: 700;
    color: #05141F;
}

.page-registration-type .page-subtitle {
    font-size: 18px;
    color: rgba(5, 20, 31, .6);
    margin-bottom: 40px;
}

.page-registration-type .option-card {
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: .3s;
    height: 100%;
    cursor: pointer;
}

.page-registration-type .option-card:hover {
    transform: translateY(-8px);
}

.page-registration-type .self-card {
    background: rgba(5, 20, 31, .03);
    border: 2px solid #05141F;
}

.page-registration-type .dealer-card {
    background: rgba(5, 20, 31, .03);
    border: 2px solid #05141F;
}

.page-registration-type .option-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.page-registration-type .option-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-registration-type .option-desc {
    color: rgba(5, 20, 31, .6);
    min-height: 70px;
}

.page-registration-type .btn-self {
    background: #05141F;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
}

.page-registration-type .btn-self:hover {
    background: #05141F;
    color: #fff;
}

.page-registration-type .btn-dealer {
    background: #05141F;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
}

.page-registration-type .btn-dealer:hover {
    background: #05141F;
    color: #fff;
}

.page-registration-type .footer {
    color: #fff;
    text-align: center;
    padding: 20px;
}

.page-registration-type .step-box {
    background: rgba(255, 255, 255, .2);
    color: white;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* --- Registration Success Page --- */
.page-registration-success {
    background: rgba(5, 20, 31, .03) !important;
}

.page-registration-success .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-registration-success .logo {
    height: 80px;
}

.page-registration-success .success-banner {
    background: #05141F;
    color: #fff;
    padding: 35px;
    text-align: center;
}

.page-registration-success .success-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    margin-top: -30px;
    box-shadow: none;
}

.page-registration-success .success-icon {
    font-size: 80px;
    color: #5D7D2B;
}

.page-registration-success .reg-id-box {
    background: rgba(5, 20, 31, .03);
    border: 2px dashed #05141F;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin: 25px 0;
}

.page-registration-success .reg-id {
    font-size: 34px;
    font-weight: 700;
    color: #05141F;
    letter-spacing: 2px;
}

.page-registration-success .info-box {
    background: rgba(5, 20, 31, .03);
    border-radius: 12px;
    padding: 20px;
}

.page-registration-success .qr-box {
    border: 2px dashed rgba(5, 20, 31, .2);
    padding: 20px;
    text-align: center;
    border-radius: 15px;
}

.page-registration-success .btn-custom {
    background: #05141F;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
}

.page-registration-success .btn-custom:hover {
    background: #05141F;
    color: #fff;
}

.page-registration-success .footer {
    /* background: #05141F;*/
    color: black !important;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* --- Event Check-In Page --- */
.page-event-checkin {
    background: rgba(5, 20, 31, .03) !important;
}

.page-event-checkin .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-event-checkin .logo {
    height: 80px;
}

.page-event-checkin .banner {
    background: #05141F;
    color: #fff;
    text-align: center;
    padding: 25px;
}

.page-event-checkin .card-box {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: none;
    margin-top: 25px;
}

.page-event-checkin .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #05141F;
    margin-bottom: 20px;
}

.page-event-checkin .form-control,
.page-event-checkin .form-select {
    height: 50px;
}

.page-event-checkin .btn-scan {
    background: #05141F;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
}

.page-event-checkin .btn-success-custom {
    background: #5D7D2B;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
}

.page-event-checkin .customer-box {
    background: rgba(5, 20, 31, .03);
    border-left: 5px solid #05141F;
    padding: 20px;
    border-radius: 10px;
}

.page-event-checkin .status-badge {
    background: #5D7D2B;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
}

.page-event-checkin .footer {
    background: #05141F;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

/* --- Dealer Registration Page --- */
.page-dealer-registration {
    background: rgba(5, 20, 31, .03) !important;
}

.page-dealer-registration .header {
    background: #fff;
    box-shadow: none;
    padding: 15px;
}

.page-dealer-registration .logo {
    height: 80px;
}

.page-dealer-registration .banner {
    background: #05141F;
    color: #fff;
    padding: 35px;
    text-align: center;
}

.page-dealer-registration .banner h2 {
    font-weight: 700;
}

.page-dealer-registration .main-card {
    background: #fff;
    border-radius: 8px;
    padding: 35px;
    margin-top: -30px;
    box-shadow: none;
}

.page-dealer-registration .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #05141F;
    border-bottom: 2px solid rgba(5, 20, 31, .2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.page-dealer-registration .form-label {
    font-weight: 600;
}

.page-dealer-registration .form-control,
.page-dealer-registration .form-select {
    height: 50px;
    border-radius: 10px;
}

.page-dealer-registration textarea.form-control {
    height: 120px;
}

.page-dealer-registration .info-box {
    background: rgba(5, 20, 31, .03);
    border-left: 5px solid #05141F;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.page-dealer-registration .btn-register {
    background: #05141F;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.page-dealer-registration .btn-register:hover {
    background: #05141F;
}

.page-dealer-registration .footer {
    background: #05141F;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.page-dealer-registration .required {
    color: #EA0029;
}

/* --- Dealer Login Page --- */
.page-dealer-login {
    background: #05141F !important;
    min-height: 100vh;
}

.page-dealer-login .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-dealer-login .logo {
    max-height: 90px;
}

.page-dealer-login .login-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-dealer-login .login-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    box-shadow: none;
}

.page-dealer-login .login-icon {
    font-size: 60px;
    color: #05141F;
}

.page-dealer-login .login-title {
    font-size: 32px;
    font-weight: 700;
    color: #05141F;
}

.page-dealer-login .login-subtitle {
    color: rgba(5, 20, 31, .6);
}

.page-dealer-login .form-control {
    height: 55px;
    border-radius: 12px;
}

.page-dealer-login .input-group-text {
    border-radius: 12px 0 0 12px;
    background: #05141F;
    color: #fff;
    border: none;
}

.page-dealer-login .btn-login {
    background: #05141F;
    color: #fff;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.page-dealer-login .btn-login:hover {
    background: #05141F;
}

.page-dealer-login .footer {
    text-align: center;
    color: #fff;
    padding-bottom: 20px;
}

.page-dealer-login .info-box {
    background: rgba(5, 20, 31, .03);
    padding: 12px;
    border-left: 4px solid #05141F;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* --- Dealer Customer Management Page --- */
.page-dealer-customer-management {
    background: rgba(5, 20, 31, .03) !important;
}

.page-dealer-customer-management .header {
    background: #fff;
    padding: 15px;
    box-shadow: none;
}

.page-dealer-customer-management .logo {
    height: 80px;
}

.page-dealer-customer-management .banner {
    background: #05141F;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.page-dealer-customer-management .option-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: none;
    height: 100%;
    transition: .3s;
}

.page-dealer-customer-management .option-card:hover {
    transform: translateY(-5px);
}

.page-dealer-customer-management .icon {
    font-size: 60px;
    color: #05141F;
    margin-bottom: 15px;
}

.page-dealer-customer-management .btn-Kia {
    background: #05141F;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
}

.page-dealer-customer-management .btn-Kia:hover {
    background: #05141F;
    color: #fff;
}

.page-dealer-customer-management .footer {
    background: #05141F;
    color: #fff;
    padding: 15px;
    text-align: center;
    margin-top: 50px;
}

/* --- Dashboard Page --- */
.page-dashboard {
    background: rgba(5, 20, 31, .03) !important;
}

.page-dashboard .topbar {
    background: #05141F;
    color: white;
    padding: 15px 25px;
}

.page-dashboard .logo {
    height: 55px;
}

.page-dashboard .dashboard-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
    transition: .3s;
}

.page-dashboard .dashboard-card:hover {
    transform: translateY(-5px);
}

.page-dashboard .card-icon {
    font-size: 40px;
    opacity: .8;
}

.page-dashboard .card-number {
    font-size: 32px;
    font-weight: bold;
}

.page-dashboard .bg1 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg2 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg3 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg4 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg5 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg6 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg7 {
    background: #05141F;
    color: white;
}

.page-dashboard .bg8 {
    background: #05141F;
    color: white;
}

.page-dashboard .chart-box {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: none;
}

.page-dashboard .table-box {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: none;
}

/* Vibrant Metric Cards */
.metric-card {
    border-radius: 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.metric-card::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.metric-card .metric-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.metric-card .metric-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.metric-card .metric-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    opacity: 0.9;
}

.metric-card .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

/* Metric Colors */
.bg-metric-purple,
.bg-metric-green,
.bg-metric-orange,
.bg-metric-blue,
.bg-metric-pink,
.bg-metric-cyan {
    background: linear-gradient(135deg, #111111 0%, #30343a 100%);
}

/* Navbar Link Size */
.navbar-nav .nav-link {
    font-size: 1.15rem !important;
    font-weight: 500;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 767px) {

    /* Forms and grids */
    .row>[class*='col-'] {
        margin-bottom: 15px;
    }

    /* Buttons */
    .btn-register,
    .btn-login,
    .btn-custom,
    .btn-Kia {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Padding adjustments */
    .main-card,
    .login-card,
    .dashboard-card,
    .card-box {
        padding: 15px !important;
    }

    /* Tables */
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }

    /* Stepper adjustments */
    .stepper {
        padding: 10px !important;
        font-size: 14px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .stepper .step {
        margin-bottom: 5px;
        text-align: center;
    }

    /* Topbar adjustments */
    .navbar-collapse {
        background: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
}

/* Navigation Cards for Dealer Dashboard */
.dealer-nav-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 15px 5px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    transition: box-shadow 0.3s ease !important;
    color: var(--Kia-black) !important;
}

.dealer-nav-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.dealer-nav-card .nav-card-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: #000000 !important;
    /* Blue color as in image */
}

.dealer-nav-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a202c !important;
}

.dealer-nav-card p {
    font-size: 14px;
    color: #4a5568 !important;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.dealer-nav-card .nav-card-btn {
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff !important;
    border: none !important;
    min-height: auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dealer-nav-card.card-search .nav-card-btn {
    background: #000000 !important;
}

.dealer-nav-card.card-add .nav-card-btn {
    background: #000000 !important;
    /* Green button for Add Customer as in image */
}

/* Metric Cards Update (Fully grayed out with black text when static, turn black and scale with white text on hover) */
.metric-card {
    background: #c4c4c4 !important;
    /* Gray background */
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    /* Black/dark text */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        background-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    z-index: 1;
}

.metric-card::after {
    display: none !important;
    /* Hide original circle styling to ensure clean layout */
}

.metric-card .metric-icon {
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
    transition: background-color 0.4s ease, color 0.4s ease !important;
}

.metric-card .metric-title {
    color: #475569 !important;
    /* Dark gray for title */
    transition: color 0.4s ease !important;
}

.metric-card .metric-value {
    color: #0f172a !important;
    /* Dark black for value */
    transition: color 0.4s ease !important;
}

/* Hover state: turn black, scale 1.25x, text white */
.metric-card:hover {
    transform: scale(1.06) !important;
    background: #05141F !important;
    /* Turn black */
    color: #ffffff !important;
    border-color: #05141F !important;
    box-shadow: 0 20px 40px rgba(5, 20, 31, 0.3) !important;
    z-index: 10;
}

.metric-card:hover .metric-icon {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.metric-card:hover .metric-title {
    color: rgba(255, 255, 255, 0.7) !important;
}

.metric-card:hover .metric-value {
    color: #ffffff !important;
}

/* Custom Tabs Styling for Admin Dashboard */
.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 12px 24px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--Kia-black) !important;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid var(--Kia-black);
    color: var(--Kia-black) !important;
    background-color: transparent !important;
}

/* ==========================================================================
   CARNIVAL '26 THEME OVERRIDES (DARK SLEEK AUTOMOTIVE EVENTS STYLE)
   ========================================================================== */
body.theme-carnival {
    background: #080b11 !important;
    color: #ffffff !important;
    font-family: 'Kia', Arial, sans-serif !important;
}

body.theme-carnival .navbar-custom {
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.theme-carnival .navbar-custom .navbar-brand img,
body.theme-carnival .header img {
    filter: brightness(0) invert(1);
}

body.theme-carnival .navbar-custom a,
body.theme-carnival .navbar-custom span {
    color: #ffffff !important;
}

/* Carnival Header Banner styling matching the image */
body.theme-carnival .carnival-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.9)),
                url("/images/kia_carnival_banner.png") center center / cover no-repeat;
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-carnival .carnival-banner h1 {
    color: #ffffff !important;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

body.theme-carnival .carnival-banner .banner-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 25px;
}

body.theme-carnival .carnival-banner .banner-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff !important;
}

body.theme-carnival .carnival-banner .banner-description {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Registration Form Card Container */
body.theme-carnival .registration-card {
    background: rgba(13, 20, 30, 0.45) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    padding: 40px !important;
    color: #ffffff !important;
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

/* Form Section Headers */
body.theme-carnival .section-title {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

body.theme-carnival .section-title i {
    color: #ffffff !important;
    margin-right: 8px;
}

/* Form Controls and Dropdowns */
body.theme-carnival .form-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    font-weight: 500 !important;
    margin-bottom: 8px;
}

body.theme-carnival .form-control,
body.theme-carnival .form-select {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-carnival textarea.form-control {
    height: 120px;
}

body.theme-carnival .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

body.theme-carnival .form-control:focus,
body.theme-carnival .form-select:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2) !important;
}

body.theme-carnival .form-control:disabled,
body.theme-carnival .form-select:disabled {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Custom Dropdown Option Backgrounds for OS dropdown readability */
body.theme-carnival select.form-select option {
    background-color: #0c121c !important;
    color: #ffffff !important;
}

/* Custom Checkbox */
body.theme-carnival .form-check-input {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 2px !important;
}

body.theme-carnival .form-check-input:checked {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Buttons */
body.theme-carnival .btn-register {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    padding: 14px 45px !important;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

body.theme-carnival .btn-register:hover {
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
}

/* Footer overrides */
body.theme-carnival footer,
body.theme-carnival .footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 30px 0 !important;
}

body.theme-carnival .footer p,
body.theme-carnival .footer small {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   CARNIVAL '26 LIGHT THEME OVERRIDES (APPLE GLASS UI ON COVER BACKGROUND)
   ========================================================================== */
body.theme-carnival-light {
    background-color: #000000 !important;
    background-image: url("/images/background.jpg") !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    color: #ffffff !important;
    font-family: 'Kia', Arial, sans-serif !important;
}

@media (max-width: 768px) {
    body.theme-carnival-light {
        background-attachment: scroll !important;
        background-size: 100% auto !important;
        background-image: url("/images/background.jpg") !important;
    }
}

/* Color overrides for helper and footer texts */
body.theme-carnival-light footer h5,
body.theme-carnival-light footer p,
body.theme-carnival-light footer small,
body.theme-carnival-light .footer h5,
body.theme-carnival-light .footer p,
body.theme-carnival-light .footer small {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.theme-carnival-light .form-text,
body.theme-carnival-light .text-muted,
body.theme-carnival-light .form-text.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.theme-carnival-light .text-success,
body.theme-carnival-light .form-text.text-success {
    color: #39e339 !important;
}

body.theme-carnival-light .text-danger,
body.theme-carnival-light .form-text.text-danger {
    color: #ff5252 !important;
}

body.theme-carnival-light .navbar-custom {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.theme-carnival-light .navbar-custom a,
body.theme-carnival-light .navbar-custom span {
    color: #ffffff !important;
}

body.theme-carnival-light .navbar-custom .navbar-brand img,
body.theme-carnival-light .header img {
    filter: brightness(0) invert(1);
}

/* Stepper Component */
body.theme-carnival-light .stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 900px;
    margin: 40px auto 45px auto;
    padding: 0 10px;
}

body.theme-carnival-light .stepper-line {
    position: absolute;
    top: 16px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15) !important;
    z-index: 1;
}

body.theme-carnival-light .stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding: 0 20px;
}

body.theme-carnival-light .stepper-item .step-counter {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

body.theme-carnival-light .stepper-item .step-name {
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

body.theme-carnival-light .stepper-item.active .step-counter {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #05141F !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

body.theme-carnival-light .stepper-item.active .step-name {
    color: #ffffff !important;
    font-weight: 700;
}

/* Glassmorphic Form Card with liquid borders and reflections */
body.theme-carnival-light .registration-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    backdrop-filter: blur(40px) saturate(220%);
    -webkit-backdrop-filter: blur(40px) saturate(220%);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 24px !important;
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        inset 0 -1px 3px rgba(0, 0, 0, 0.4),
        0 25px 60px rgba(0, 0, 0, 0.55) !important;
    padding: 45px !important;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    color: #ffffff !important;
}

/* Section Header Titles with transparent outlined left icons */
body.theme-carnival-light .section-title {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding-bottom: 12px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-carnival-light .section-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    font-size: 14px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.05);
}

/* Form Label & Input Fields */
body.theme-carnival-light .form-label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    font-size: 13.5px;
    margin-bottom: 8px;
}

body.theme-carnival-light .required {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Input boxes with left-aligned icons */
body.theme-carnival-light .input-with-icon {
    position: relative;
}

body.theme-carnival-light .input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.2s ease;
}

body.theme-carnival-light .input-with-icon .form-control,
body.theme-carnival-light .input-with-icon .form-select {
    padding-left: 48px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    height: 52px;
    font-size: 15px;
    transition: 
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
        background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08) !important;
}

body.theme-carnival-light .input-with-icon textarea.form-control {
    height: 120px;
    padding-top: 14px !important;
}

body.theme-carnival-light .input-with-icon .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

body.theme-carnival-light .input-with-icon .form-control:focus,
body.theme-carnival-light .input-with-icon .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.15), 
        0 0 18px rgba(255, 255, 255, 0.25) !important;
}

body.theme-carnival-light .input-with-icon .form-control:focus ~ i,
body.theme-carnival-light .input-with-icon .form-select:focus ~ i {
    color: #ffffff !important;
}

body.theme-carnival-light .input-with-icon .form-control:disabled,
body.theme-carnival-light .input-with-icon .form-select:disabled {
    background-color: rgba(255, 255, 255, 0.01) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* Custom Dropdown Option Backgrounds for OS dropdown readability */
body.theme-carnival-light select.form-select option {
    background-color: #0c121c !important;
    color: #ffffff !important;
}

/* Custom Checkbox */
body.theme-carnival-light .form-check-input {
    background-color: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 4px !important;
    width: 20px;
    height: 20px;
}

body.theme-carnival-light .form-check-input:checked {
    background-color: #05141F !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

body.theme-carnival-light .form-check-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 6px;
    cursor: pointer;
}

/* Submit/Continue Glass Button */
body.theme-carnival-light .btn-register {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 8px !important;
    color: #05141F !important;
    font-weight: 700 !important;
    padding: 16px 48px !important;
    font-size: 15px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

body.theme-carnival-light .btn-register:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}

/* Footer style overrides */
body.theme-carnival-light footer,
body.theme-carnival-light .footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 35px 0 !important;
}

body.theme-carnival-light .footer p,
body.theme-carnival-light .footer small {
    color: rgba(255, 255, 255, 0.5) !important;
}