:root {
    --header-height: 80px;
    /* Black/White/Gold Theme */
    --accent-purple: #b29441;
    /* gold accent */
    --accent-purple-dark: #8c7533;
    /* darker gold */
    --accent-purple-light: rgba(178, 148, 65, 0.08);
    --accent-yellow: #b29441;
    --accent-gold: #b29441;
    --text-dark: #1e293b;
    --text-muted: #7a6b4f;
    /* muted gold-grey */
    --card-cream: #f8f0d9;
    /* soft gold-tinted card bg */
    --error-red: #ff6b6b;
    --success-green: #22c55e;
    --neon-green: #b29441;
    --neon-green-glow: rgba(178, 148, 65, 0.25);
    --neon-green-hover: #c3a758;
    --dark-bg: #000000;
    --white: #ffffff;
    --gray-text: #a1a1aa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background: rgba(75, 0, 110, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(251, 223, 81, 0.2);
    padding: 10px 0;
    height: var(--header-height);
    transition: all 0.3s ease;
    z-index: 4000;
}

.logo img {
    height: 48px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
}

/* Banner */
.banner-section {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding-top: 80px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000 url('../img/banner/banner-bg.webp') no-repeat center bottom;
    background-size: cover;
    overflow: hidden;
}

.animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    display: block;
    list-style: none;
    color: var(--neon-green);
    opacity: 0.12;
    font-size: 3rem;
    font-weight: bold;
}

.shape-1 {
    left: 10%;
    top: 20%;
    animation: floatRotateUp 25s infinite linear;
}

.shape-2 {
    left: 85%;
    top: 70%;
    width: 25px;
    height: 25px;
    border: 4px solid var(--neon-green);
    border-radius: 50%;
    animation: floatRotateDown 35s infinite linear reverse;
}

.shape-3 {
    left: 50%;
    top: 10%;
    font-size: 5rem;
    animation: floatRotateDown 22s infinite linear;
}

.shape-4 {
    left: 25%;
    top: 80%;
    width: 15px;
    height: 15px;
    border: 3px solid var(--neon-green);
    animation: floatRotateUp 18s infinite linear;
}

.shape-5 {
    left: 70%;
    top: 15%;
    font-size: 2rem;
    animation: floatRotateDown 40s infinite linear reverse;
}

@keyframes floatRotateUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.15;
    }
}

@keyframes floatRotateDown {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(40px) rotate(180deg);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.15;
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    color: var(--white);
}

.banner-organizers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.banner-organizers img {
    height: 36px;
}

.banner-title img {
    max-width: 350px;
    width: 90%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.25));
}

.banner-sponsor p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.banner-sponsor img {
    height: 52px;
    filter: brightness(0) invert(1);
}

/* Main Content Area */
.main {
    flex: 1 0 auto;
    background: #f8fafc;
    position: relative;
}

/* Footer */
.CMO-footer {
    background: #2d0042;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.CMO-footer-label {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.CMO-footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.CMO-footer-link:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.CMO-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.CMO-footer-social:hover {
    background: var(--accent-gold);
    color: var(--accent-purple);
    transform: translateY(-3px);
}

.CMO-footer-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 1);
    margin: 24px 0 20px 0;
}

.CMO-footer .container-fluid {
    max-width: 90%;
    margin: 0 auto;
}

.btn-primary,
.btn-entry-primary {
    background: linear-gradient(135deg, #b29441 0%, #c3a758 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(178, 148, 65, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-entry-primary:hover {
    background: linear-gradient(135deg, #c3a758 0%, #b29441 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 148, 65, 0.35);
    color: #ffffff;
}

.btn-danger {
    background: #dc3545;
    color: #ffffff;
    border: 1px solid rgba(220, 53, 69, 0.2);
    font-weight: 500;
}

.btn-danger:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Back to top */
#backToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: var(--accent-purple);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: none;
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    font-size: 1.2rem;
}

#backToTop.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Organized By Header & Line */
.organized-by {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.org-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.org-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.org-header span {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 500;
    color: #fff;
}

.org-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.org-logos img {
    height: 50px;
}

/* Layout Media Queries */
@media (max-width: 992px) {
    .banner-section {
        min-height: 350px;
    }

    .banner-title img {
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .banner-section {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 2rem 0;
    }

    .banner-title img {
        max-width: 280px;
    }

    .banner-sponsor img {
        height: 44px;
    }

    .CMO-footer .row {
        text-align: left;
    }

    .CMO-footer .col-md-2.text-center {
        text-align: left !important;
        margin-bottom: 20px;
    }

    .CMO-logo {
        height: 40px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .banner-organizers {
        gap: 1rem;
    }

    .banner-organizers img {
        height: 30px;
    }

    .banner-title img {
        max-width: 240px;
    }

    .banner-sponsor img {
        height: 40px;
    }
}

/* Auth Views Configuration */
body:has(.login-wrapper),
body:has(.register-wrapper) {
    background: var(--auth-bg, url('../../images/bg.webp')) no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.error {
    color: var(--error-red);
    font-size: 0.875em;
    margin-top: 5px;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-wrapper,
.register-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
}

.login-card,
.register-card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
}

.login-card img.logo,
.register-card img.logo {
    max-width: 120px;
    margin: 0 auto 20px auto;
    display: block;
}

.illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.illustration img {
    max-width: 90%;
    height: auto;
}

/* Select2 customization */
.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    color: #212529;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.iti {
    width: 100% !important;
}

.iti__flag-container {
    z-index: 10;
}

/* Responsive tweaks for Auth */
@media (max-width: 991px) {
    .illustration img {
        max-width: 70%;
    }
}

@media (max-width: 767px) {

    .login-wrapper .row,
    .register-wrapper .row {
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center;
    }

    .illustration {
        display: none;
    }

    .login-card,
    .register-card {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .register-card {
        padding: 20px;
    }
}

/* Entry Pages & Wizard Styling */
.entry-pages {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.entry-pages .container {
    max-width: 900px;
}

.page-title {
    color: var(--accent-purple);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.page-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.card.entry-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background: #fff;
    overflow: hidden;
}

.card-header-custom {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
    padding: 2rem;
    text-align: center;
    color: white;
    border-bottom: 5px solid var(--accent-yellow);
}

.card-header-custom h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.card-body-custom {
    padding: 2.5rem;
}

label.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label span.text-danger {
    color: #e74c3c !important;
}

.form-select,
.form-control {
    border: 2px solid #ccc;
    background-color: #ffffff;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.form-select:focus,
.form-control:focus {
    border-color: var(--accent-purple);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(75, 0, 110, 0.1);
    outline: none;
}

.form-select:hover,
.form-control:hover {
    border-color: #dce4ec;
}

.section-divider {
    height: 1px;
    background: #eef2f7;
    margin: 2rem 0;
}

#clientDetailsWrap h5,
#dynamicFormWrap h5 {
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

#clientDetailsWrap h5::before,
#dynamicFormWrap h5::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--accent-yellow);
    margin-right: 10px;
    border-radius: 2px;
}

.client-details,
.dynamic-details {
    background: #fff;
    padding: 0;
}

.btn-entry-primary {
    background: var(--accent-purple);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(75, 0, 110, 0.3);
}

.btn-entry-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid #eef2f7;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-entry-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
    background: #fff;
}

#previewBtn {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    background: transparent;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#previewBtn:hover {
    background: var(--accent-purple-light);
    color: var(--accent-purple);
}

.ms-2 {
    margin-left: .75rem !important;
}

/* Error styling */
.field-input.is-invalid,
.form-select.is-invalid,
.form-control.is-invalid {
    border-color: var(--error-red);
    background-image: none;
}

.invalid-feedback,
.field-error {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .entry-pages .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-body-custom {
        padding: 1.5rem;
    }

    .btn-entry-primary,
    .btn-entry-secondary,
    #previewBtn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        margin-left: 0 !important;
    }

    .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
    }

    .d-flex.align-items-center.justify-content-between>div {
        display: flex;
        flex-direction: column;
    }
}

/* Preview modal styles */
.preview-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    top: 70px;
}

.preview-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    border-top: 5px solid var(--accent-yellow);
}

.preview-modal h5 {
    margin-top: 0;
    color: var(--accent-purple);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.preview-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #f0f0f0;
}

.preview-row:last-child {
    border-bottom: none;
}

.preview-label {
    width: 200px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-value {
    flex: 1;
    white-space: pre-wrap;
    color: var(--text-dark);
    font-weight: 500;
}

/* File size validation styles */
.file-size-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.file-size-error {
    color: var(--error-red);
    font-weight: 500;
}

.file-size-warning {
    color: #ff9800;
    font-weight: 500;
}

.upload-size-alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.upload-size-alert.warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.upload-size-alert.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.upload-progress {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background: var(--accent-purple);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-spinner-text {
    margin-top: 1rem;
    color: var(--accent-purple);
    font-weight: 500;
    text-align: center;
}

.upload-progress {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
    display: none;
}

.upload-progress.active {
    display: block;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow));
    width: 0%;
    transition: width 0.3s ease;
}

/* Client Confirmation Modal */
.client-modal {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.client-modal-box {
    background: #fff;
    padding: 28px 32px;
    border-radius: 10px;
    text-align: center;
    max-width: 640px;
    width: 92%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-top: 4px solid var(--accent-yellow);
}

.client-modal-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #f29f6e;
    border: 4px solid #f5d6c1;
}

.client-modal-title {
    margin: 8px 0;
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.client-modal-sub {
    color: #555;
    margin: 8px 0 14px;
}

.client-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.client-modal .btn,
#clientApproveYes,
#clientApproveNo {
    min-width: 160px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 480px) {

    #clientApproveYes,
    #clientApproveNo {
        min-width: 125px;
        height: 44px;
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Entry Show Page Styles */
.entry-pages .container {
    width: 70%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

h2.fw-bold {
    color: var(--accent-purple);
}

.card.entry-card {
    border: 2px solid var(--accent-purple);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(75, 0, 110, 0.08);
}

h2.fw-bold+.btn-entry-secondary,
h2.fw-bold+a.btn-entry-secondary {
    background: #fff;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
    padding: .45rem .8rem;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .entry-pages .container {
        width: 94%;
        max-width: 94%;
    }
}

.details-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.details-modal-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 92%;
    max-width: 900px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.details-modal-close {
    position: absolute;
    right: 18px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table th,
.details-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.details-section {
    margin-bottom: 14px;
}

.details-section h5 {
    margin: 0 0 8px 0;
    color: var(--accent-purple);
}

/* Preview Partial White-space configuration */
.entry-pages dd,
.entry-pages .text-dark,
.details-modal-box td,
.details-table td {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

/* Loading skeleton for Modals (Dashboard) */
.modal-skeleton {
    padding: 28px 12px;
    text-align: center;
}

.modal-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin-modal 0.8s linear infinite;
}

@keyframes spin-modal {
    to {
        transform: rotate(360deg);
    }
}

.modal-loading-text {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #999;
}

/* Banner from Summary & Dashboard */
.summary-banner {
    background: linear-gradient(115deg, rgba(0, 0, 0, 0.12), rgba(226, 199, 66, 0.09));
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
}

.summary-title {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 2.1rem;
    color: #000000;
    font-weight: 700;
}

.summary-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.decor-wrap {
    gap: 18px;
}

.decor-left,
.decor-right {
    width: 100px;
    height: 8px;
    border-radius: 6px;
    background: linear-gradient(90deg, #000000, var(--accent-yellow));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.decor-left {
    margin-right: 14px;
}

.decor-right {
    margin: 0px;
}

.summary-back-btn {
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
}

/* Card container (Dashboard & Summary) */
.summary-card {
    margin: 0 auto;
    border-radius: 20px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.summary-panel {
    background: linear-gradient(135deg, rgba(253, 245, 235, 0.3), rgba(255, 255, 255, 0.6));
    border-radius: 16px;
}

/* Table Styling matching summary-table (Dashboard & Summary) */
.table.summary-table thead th {
    background: #000000;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    padding: 14px 12px;
    vertical-align: middle;
}

.table.summary-table tbody td {
    vertical-align: middle;
    color: #1e293b;
    border-color: rgba(178, 148, 65, 0.12);
    padding: 12px 12px;
    font-size: 0.95rem;
}

.table.summary-table tbody tr:hover {
    background-color: rgba(178, 148, 65, 0.06);
}

/* Dashboard / Summary button overrides */
.btn-entry-secondary {
    background: #fff;
    color: #000000;
    border: 2px solid #000000;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.btn-entry-secondary:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.94);
    transform: translateY(-1px);
}

.btn-entry-primary {
    display: inline-block;
    background: linear-gradient(90deg, #000000, var(--accent-yellow));
    color: #fff;
    border: 0;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
    padding: .6rem 1.1rem;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-entry-primary:hover {
    opacity: .95;
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
    border-radius: 8px;
    border-width: 1.5px;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px);
}

/* Checkbox styling */
.form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

/* Modals layout (Dashboard) */
.login-modal,
.confirm-modal,
.client-modal,
.details-modal {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.login-modal-box,
.confirm-modal-box,
.details-modal-box {
    background: #fff;
    padding: 28px 32px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    max-width: 520px;
    width: 94%;
    transform: translateY(-10px) scale(.98);
    opacity: 0;
    transition: transform 320ms cubic-bezier(.2, .9, .3, 1), opacity 260ms ease;
}

.login-modal.show .login-modal-box,
.confirm-modal.show .confirm-modal-box,
.client-modal.show .client-modal-box,
.details-modal.show .details-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Details Modal Specifics (Dashboard) */
.details-modal-box {
    max-width: 1100px;
    text-align: left;
    padding: 0;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.details-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 24px 30px;
    background: #faf9f6;
}

.login-modal-icon,
.confirm-modal-icon,
.client-modal-icon {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-title,
.confirm-modal-title,
.client-modal-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.login-modal-sub,
.confirm-modal-sub,
.client-modal-sub {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
}

.btn-login-ok {
    background: linear-gradient(90deg, var(--accent-purple), #c3a758);
    border: 0;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .summary-title {
        font-size: 1.6rem;
    }

    .decor-right {
        width: 50px;
    }

    .summary-banner {
        text-align: center;
    }

    .summary-back-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* Info Table Layout Styles (Dashboard) */
.info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.info-header {
    background: linear-gradient(to right, rgba(75, 0, 110, 0.02), rgba(251, 223, 81, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--accent-purple);
    font-weight: 700;
    padding: 14px 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.info-header::before {
    content: '';
    display: block;
    width: 4px;
    height: 16px;
    background: var(--accent-yellow);
    margin-right: 12px;
    border-radius: 4px;
}

.info-body {
    padding: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    width: 35%;
    text-align: left;
    padding: 12px 20px;
    color: #666;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid #f4f4f4;
    vertical-align: top;
    background: #fafafc;
    border-right: 1px solid #f4f4f4;
}

.info-table td {
    padding: 12px 20px;
    color: #222;
    font-size: 0.95rem;
    border-bottom: 1px solid #f4f4f4;
    vertical-align: top;
    line-height: 1.6;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.view-split-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.view-left-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
}

.view-right-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
}

@media (min-width: 992px) {
    .view-left-col {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .view-right-col {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .view-left-col .info-table th {
        width: 40%;
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .view-left-col .info-table td {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

.info-table img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0 8px 8px 0;
}

/* Invoice Panel & Coupons Summary Styles */
.summary-panel.invoice-panel {
    background: linear-gradient(135deg, rgba(253, 245, 235, 0.92), rgba(255, 255, 255, 0.96));
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 32px rgba(178, 148, 65, 0.08);
    border: 1px solid rgba(178, 148, 65, 0.12);
    height: 100%;
}

.invoice-panel textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.invoice-panel .form-control,
.invoice-panel .form-select {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    border: 1px solid rgba(178, 148, 65, 0.18);
    box-shadow: 0 4px 12px rgba(178, 148, 65, 0.04);
}

.invoice-panel .form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b29441' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
}

#currencySelect.form-select {
    -webkit-appearance: menulist;
    -moz-appearance: auto;
    appearance: auto;
    padding-right: 1rem;
    background-image: none;
    background-color: #fffdf5;
}

.invoice-panel .form-control:focus,
.invoice-panel .form-select:focus {
    border-color: rgba(178, 148, 65, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(178, 148, 65, 0.15);
}

.invoice-panel .input-group .btn {
    min-width: 120px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow));
    border: 0;
    color: #fff;
    font-weight: 600;
}

.invoice-panel .input-group .btn:hover {
    opacity: 0.94;
}

.summary-breakdown table.table-borderless td {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: #1e293b;
}

.summary-breakdown table.table-borderless tr.fw-bold td {
    color: var(--accent-purple);
    font-size: 1.05rem;
}

.btn-pay {
    padding: 12px 38px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-yellow));
    border: 0;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(75, 0, 110, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(75, 0, 110, 0.22);
}

.summary-panel .invalid-feedback {
    font-size: 0.8rem;
    color: #c0392b;
}

.summary-panel .is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.12);
}

@media (max-width: 991.98px) {
    .summary-banner {
        text-align: center;
    }

    .summary-back-btn {
        width: 100%;
    }

    .summary-panel {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .summary-title {
        font-size: 1.8rem;
    }

    .decor-left,
    .decor-right {
        width: 42px;
    }

    .btn-pay {
        width: 100%;
    }
}

/* ==========================================================================
   CMO Honour Roll 2026 Layout Elements (Navbar & Main Footer)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.iamai-header-logo {
    height: 30px;
    object-fit: contain;
}

.presents-header-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    font-weight: 500;
}

.cmo-header-badge {
    height: 45px;
    object-fit: contain;
}

.navbar-event-info {
    display: flex;
    align-items: center;
}

.navbar-event-info .pill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-green);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.navbar-event-info .pill-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(178, 148, 65, 0.3);
    margin: 0 15px;
}

/* Navbar Logout Button */
.navbar-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #d4af37 0%, #b29441 100%);
    border: 1.5px solid #b29441;
    color: #000000;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(178, 148, 65, 0.35);
    text-transform: uppercase;
}

.navbar-logout-btn i {
    font-size: 16px;
    line-height: 1;
    color: #000000;
}

.navbar-logout-btn:hover {
    background: linear-gradient(135deg, #e6c875 0%, #c3a758 100%);
    color: #000000;
    box-shadow: 0 6px 20px rgba(178, 148, 65, 0.55);
    transform: translateY(-1px);
}

@media (max-width: 450px) {
    .navbar-logout-btn span {
        display: none;
    }

    .navbar-logout-btn {
        padding: 7px 12px;
        font-size: 18px;
    }
}

/* Main Footer */
.main-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 5% 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.footer-cards-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-card {
    background: linear-gradient(135deg, #f6ebd2 0%, #e5d2a1 100%);
    border-radius: 16px;
    padding: 24px 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 110px;
}

.footer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(178, 148, 65, 0.25);
}

.footer-card p {
    font-size: 15px;
    color: #333333;
    margin-bottom: 5px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.footer-card a {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    word-break: break-all;
    transition: color 0.3s ease;
}

.footer-card a:hover {
    color: #559c00;
}

.footer-bottom-bar {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    font-size: 14px;
    color: #666666;
}

.footer-bottom-links a {
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #000000;
}

.footer-neon-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #8c7533 0%, var(--neon-green) 50%, #8c7533 100%);
    box-shadow: 0 -4px 15px var(--neon-green-glow);
}

/* Responsive Overrides */
@media (min-width: 2500px) {
    .navbar {
        padding: 0 10%;
        height: 120px;
    }

    .footer-cards-container {
        max-width: 1800px;
        gap: 50px;
    }

    .footer-card {
        padding: 40px 60px;
        min-height: 160px;
    }

    .footer-card p {
        font-size: 20px;
    }

    .footer-card a {
        font-size: 26px;
    }

    .footer-bottom-bar {
        max-width: 1800px;
        font-size: 18px;
        padding-top: 40px;
    }
}

@media (min-width: 1800px) {
    .navbar {
        padding: 0 8%;
        height: 100px;
    }

    .footer-cards-container {
        max-width: 1400px;
        gap: 40px;
    }

    .footer-card {
        padding: 30px 45px;
        min-height: 130px;
    }

    .footer-card a {
        font-size: 20px;
    }
}

@media (max-width: 1300px) {
    .navbar {
        padding: 0 4%;
    }
}

@media (max-width: 1200px) {
    .navbar {
        height: 80px;
    }

    .footer-cards-container {
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 991px) {
    .footer-cards-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 20px 0;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 5% 40px;
    }
}

@media (max-width: 450px) {
    .navbar {
        height: 70px;
    }

    .iamai-header-logo {
        height: 22px;
    }

    .presents-header-tag {
        font-size: 9px;
    }

    .cmo-header-badge {
        height: 35px;
    }

    .footer-card {
        padding: 20px 20px;
        border-radius: 12px;
    }

    .footer-card p {
        font-size: 13px;
    }

    .footer-card a {
        font-size: 15px;
    }

    .footer-bottom-bar {
        font-size: 12px;
    }

    .footer-bottom-links a {
        margin: 0 8px;
    }
}

/* =========================================================================
   Banner Branding & Event Pill Styles
   ========================================================================= */

/* IAMAI presenter block in banner */
.iamai-logo {
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.presents-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    margin: 10px 0 0px;
    font-weight: 600;
}

/* CMO badge in banner */
.banner-title img {
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(178, 148, 65, 0.35));
}

/* Date + Location row pill container */
.banner-event-info-vertical {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    /* margin-top: 18px; */
    /* background: linear-gradient(135deg, #d4af37 0%, #b29441 100%); */
    border: 1.5px solid #e5c569;
    border-radius: 50px;
    padding: 10px 24px;
    box-shadow: 0 8px 30px rgba(178, 148, 65, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.banner-event-info-vertical .event-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.banner-event-info-vertical .event-pill-item i {
    font-size: 16px;
    color: #000000;
}

/* Divider between date and location */
.banner-pill-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    margin: 0 16px;
    flex-shrink: 0;
}

/* Responsive Banner */
@media (max-width: 768px) {
    .banner-section {
        min-height: auto;
        background-size: cover;
    }

    .iamai-logo {
        height: 38px;
    }

    .banner-event-info-vertical {
        padding: 8px 18px;
    }

    .banner-event-info-vertical .event-pill-item {
        font-size: 14px;
    }

    .banner-pill-divider {
        margin: 0 12px;
    }
}

@media (max-width: 450px) {
    .banner-section {
        background-size: cover;
    }

    .iamai-logo {
        height: 28px;
    }

    .presents-tag {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .banner-title img {
        max-height: 90px;
    }

    /* Stack pills vertically on very small screens */
    .banner-event-info-vertical {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px 20px;
        gap: 8px;
    }

    .banner-pill-divider {
        width: 60px;
        height: 1px;
        margin: 0;
    }

    .banner-event-info-vertical .event-pill-item {
        font-size: 13px;
    }
}

/* ─────────────────────────────────────────────────────────────
   Number Input - Stepper Arrows & Manual Input Only
   - Ensures arrow stepper (up/down buttons) is always visible and functional
   - Allows users to increase/decrease through arrows and input manually
───────────────────────────────────────────────────────────── */
input[type="number"] {
    -moz-appearance: number-input !important;
    appearance: auto !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button !important;
    opacity: 1 !important;
    display: block !important;
    cursor: pointer;
    margin: 0;
}