@charset "UTF-8";

/* =========================================================
   DB Heavent Font Definition
   ========================================================= */
@font-face {
    font-family: 'DB Heavent';
    src: url('../fonts/DB%20Heavent%20v3.2.1.ttf') format('truetype'),
         url('../fonts/DB Heavent v3.2.1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DB Heavent';
    src: url('../fonts/DB%20Heavent%20v3.2.1.ttf') format('truetype'),
         url('../fonts/DB Heavent v3.2.1.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   Global Reset & Base
   ========================================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: 'DB Heavent', 'Segoe UI', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
    font-size: 20px;
    line-height: 1.35;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "kern" 1;
    color: #ffffff;
    background-color: #bcc7e1;
    background-image: url('../images/background.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: scroll;
    overflow-x: hidden;
}

/* Base link reset */
a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   Layout Structure
   ========================================================= */
.page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px 60px 15px;
}

.content-container {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

/* =========================================================
   Header & Title Banner
   ========================================================= */
.header-banner {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px;
    animation: fadeInDown 0.8s ease-out;
}

.header-banner img.title-logo {
    width: 100%;
    max-width: 540px;
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 6px 16px rgba(0, 40, 100, 0.35));
    transition: transform 0.3s ease;
}

.header-banner img.title-logo:hover {
    transform: scale(1.01);
}

/* =========================================================
   Main Form Card
   ========================================================= */
.form-card {
    width: 100%;
    background: #04183e;
    background: linear-gradient(180deg, #03173d 0%, #031538 50%, #020f2b 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 10, 40, 0.6), 0 0 20px rgba(0, 170, 255, 0.15);
    border: 1px solid rgba(0, 195, 255, 0.25);
    padding: 35px 30px 45px 30px;
    margin-bottom: 30px;
    position: relative;
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.8s ease-out;
}

.form-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: normal;
    text-shadow: 0 2px 10px rgba(0, 180, 255, 0.3);
}

/* =========================================================
   Text & URL Inputs
   ========================================================= */
.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-control {
    width: 100%;
    height: 48px;
    background-color: #ffffff;
    border: 1.5px solid transparent;
    border-radius: 8px;
    padding: 6px 16px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 22px;
    color: #1f2937;
    outline: none;
    transition: all 0.25s ease-in-out;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.form-control::placeholder {
    color: #555555;
    font-family: 'DB Heavent', sans-serif;
    font-size: 22px;
    opacity: 0.95;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: #00d2ff;
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control.is-invalid {
    border-color: #ff4757 !important;
    background-color: #fff5f5;
}

.form-group-spaced {
    margin-top: 25px;
    margin-bottom: 25px;
}

/* =========================================================
   Section Separator & Headings
   ========================================================= */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    margin: 25px 0;
}

.question-block {
    margin-bottom: 28px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.question-block.is-invalid {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px dashed #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.question-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.3;
    display: block;
}

.question-title .sub-note {
    font-size: 20px;
    font-weight: normal;
    color: #93c5fd;
}

/* =========================================================
   Custom Radio & Checkbox Styling
   ========================================================= */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    font-size: 22px;
    color: #ffffff;
    padding: 3px 0;
    transition: all 0.2s ease;
}

.option-item:hover .option-label {
    color: #38bdf8;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom indicator design matching Regis-Design.jpg */
.custom-indicator {
    height: 22px;
    width: 22px;
    min-width: 22px;
    background-color: transparent;
    border: 2px solid #8ba4ca;
    border-radius: 50%;
    margin-right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
}

/* Checkbox indicator */
.option-item.checkbox .custom-indicator {
    border-radius: 50%; /* in design, checkboxes are also round dots or slightly rounded */
}

/* Hover state */
.option-item:hover input ~ .custom-indicator {
    border-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

/* Checked state */
.option-item input:checked ~ .custom-indicator {
    background-color: transparent;
    border-color: #00e1d9;
    box-shadow: 0 0 10px rgba(0, 225, 217, 0.8), inset 0 0 6px rgba(0, 225, 217, 0.5);
}

/* Inner dot when checked */
.option-item input:checked ~ .custom-indicator::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00e1d9;
    box-shadow: 0 0 6px #00e1d9;
}

.option-label {
    flex: 1;
    font-size: 22px;
    color: #ffffff;
    line-height: 1.3;
    transition: color 0.2s ease;
}

/* Other / Specify Text Input */
.option-other-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
}

.option-other-row .option-item {
    white-space: nowrap;
    margin-bottom: 0;
    min-width: 130px;
}

.input-other {
    flex: 1;
    height: 38px;
    background-color: #ffffff;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    padding: 4px 12px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 20px;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.input-other::placeholder {
    color: #718096;
    font-size: 19px;
}

.input-other:focus {
    border-color: #00d2ff;
    box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.35);
}

/* =========================================================
   Submit Button
   ========================================================= */
.submit-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 10px;
}

.btn-submit {
    min-width: 180px;
    height: 52px;
    background: linear-gradient(180deg, #008be3 0%, #006eb8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: normal;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 110, 184, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: linear-gradient(180deg, #0ba2ff 0%, #007bc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 255, 0.65), 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 3px 12px rgba(0, 110, 184, 0.6);
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner inside button */
.btn-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}

/* =========================================================
   Modal / Alert Dialog Styling
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 11, 28, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.modal-card {
    width: 100%;
    max-width: 480px;
    background: #051a42;
    border: 1.5px solid #00d2ff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.3);
    padding: 35px 25px;
    text-align: center;
    animation: scaleIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #ffffff;
}

.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.modal-icon.success {
    background: rgba(16, 185, 129, 0.2);
    border: 2px solid #10b981;
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.modal-icon.error {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #ef4444;
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.modal-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 22px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.4;
}

.modal-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: left;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn {
    min-width: 140px;
    height: 46px;
    background: linear-gradient(180deg, #008be3 0%, #006eb8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn:hover {
    background: #0ba2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* =========================================================
   Responsive Media Queries
   ========================================================= */
@media screen and (max-width: 600px) {
    body {
        font-size: 19px;
        background-size: 100% auto;
    }

    .page-wrapper {
        padding: 10px 10px 40px 10px;
    }

    .form-card {
        padding: 25px 18px 35px 18px;
        border-radius: 16px;
    }

    .form-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .form-control {
        font-size: 20px;
        height: 44px;
    }

    .form-control::placeholder {
        font-size: 20px;
    }

    .question-title {
        font-size: 22px;
    }

    .option-label {
        font-size: 20px;
    }

    .option-other-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .option-other-row .option-item {
        min-width: unset;
        width: 100%;
    }

    .input-other {
        width: 100%;
        margin-left: 36px;
        width: calc(100% - 36px);
    }

    .btn-submit {
        width: 100%;
        font-size: 26px;
        height: 48px;
    }
}

/* =========================================================
   Check-In Styles
   ========================================================= */
.checkin-container {
    max-width: 680px;
}

.checkin-card {
    padding: 30px 25px 40px 25px;
}

.checkin-subtitle {
    text-align: center;
    color: #93c5fd;
    font-size: 22px;
    margin-top: -15px;
    margin-bottom: 25px;
}

.input-label {
    display: block;
    font-size: 22px;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.login-hints {
    text-align: center;
    margin-top: 20px;
    font-size: 19px;
    color: #94a3b8;
}

.login-hints code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #38bdf8;
}

/* Staff Topbar */
.staff-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 20px;
}

.staff-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #e2e8f0;
}

.staff-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-link {
    font-size: 19px;
    color: #38bdf8;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn-link:hover {
    color: #7dd3fc;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    border-radius: 8px;
    padding: 4px 12px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Stats Summary */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
}

.stat-num {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.1;
}

.stat-label {
    font-size: 19px;
    color: #94a3b8;
    margin-top: 4px;
}

.stat-box.total .stat-num { color: #38bdf8; }
.stat-box.checked .stat-num { color: #10b981; }
.stat-box.pending .stat-num { color: #f59e0b; }

/* Search Combobox */
.search-combobox-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.search-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: #64748b;
    pointer-events: none;
}

.search-input {
    padding-left: 45px !important;
    padding-right: 40px !important;
    height: 52px !important;
    font-size: 23px !important;
}

.btn-clear-search {
    position: absolute;
    right: 12px;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-clear-search:hover {
    background: #cbd5e1;
    color: #0f172a;
}

/* Combobox Dropdown List */
.combobox-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #061a42;
    border: 1.5px solid #00d2ff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 210, 255, 0.25);
    z-index: 1000;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
}

.combobox-status {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 22px;
}

.combobox-items {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.combobox-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.combobox-item:last-child {
    border-bottom: none;
}

.combobox-item:hover:not(.disabled) {
    background: rgba(0, 210, 255, 0.15);
    transform: translateX(2px);
}

.combobox-item.selected {
    background: rgba(0, 210, 255, 0.25);
    border: 1px solid #00d2ff;
}

/* Disabled item (Already checked in) */
.combobox-item.disabled {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
}

.combobox-item.disabled:hover {
    background: rgba(239, 68, 68, 0.08);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.item-name {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    line-height: 1.25;
}

.item-sub {
    font-size: 18px;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    line-height: 1.25;
}

.item-sub-phone,
.item-sub-email {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    word-break: break-all;
}

.item-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.25;
}

.item-badge.badge-ready {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #10b981;
}

.item-badge.badge-checked {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    color: #fbbf24;
}

/* Registrant Details Card */
.registrant-details-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 22px;
    margin-top: 25px;
    animation: fadeInUp 0.4s ease-out;
}

.details-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.details-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #008be3 0%, #00d2ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
}

.details-header-text {
    flex: 1;
}

.details-name {
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.details-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-badge {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    color: #fbbf24;
}

.status-badge.checked {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #10b981;
}

.social-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid #38bdf8;
    color: #38bdf8;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 18px;
}

.details-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    font-size: 21px;
    line-height: 1.35;
}

.detail-label {
    min-width: 190px;
    color: #94a3b8;
}

.detail-value {
    color: #ffffff;
    flex: 1;
}

.detail-link {
    color: #38bdf8;
    text-decoration: underline;
    word-break: break-all;
}

.detail-link:hover {
    color: #00d2ff;
}

.details-footer {
    display: flex;
    justify-content: center;
}

.btn-confirm-checkin {
    min-width: 240px;
    min-height: 54px;
    height: auto;
    padding: 10px 24px;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 1.25;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transition: all 0.25s ease;
}

.btn-confirm-checkin:hover {
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.65), 0 0 15px rgba(52, 211, 153, 0.4);
}

.btn-check-icon {
    font-size: 26px;
}

/* Check-In Success Card */
.checkin-success-card {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.35);
    animation: scaleIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-box {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.success-title {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 6px;
}

.success-subtitle {
    font-size: 22px;
    color: #6ee7b7;
    margin-bottom: 22px;
}

.success-info-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 21px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-row {
    display: flex;
    justify-content: space-between;
}

.success-row span {
    color: #94a3b8;
}

.success-row strong {
    color: #ffffff;
}

.new-checkin-container {
    display: flex;
    justify-content: center;
}

.btn-new-checkin {
    min-width: 260px;
    min-height: 54px;
    height: auto;
    padding: 10px 24px;
    background: linear-gradient(180deg, #008be3 0%, #006eb8 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: 'DB Heavent', sans-serif;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 1.25;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 110, 184, 0.5);
    transition: all 0.25s ease;
}

.btn-new-checkin:hover {
    background: linear-gradient(180deg, #0ba2ff 0%, #007bc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 255, 0.65), 0 0 15px rgba(0, 210, 255, 0.4);
}

@media screen and (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-label {
        min-width: unset;
        font-size: 19px;
    }

    .staff-topbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .btn-confirm-checkin, .btn-new-checkin {
        width: 100%;
    }

    .combobox-dropdown {
        max-height: 320px;
    }

    .item-name {
        font-size: 20px;
    }

    .item-sub {
        font-size: 16px;
        gap: 2px 10px;
    }

    .item-badge {
        font-size: 15px;
        padding: 1px 7px;
    }
}
