/* ═══════════════════════════════════════════════
             STEPPER CARD
             ═══════════════════════════════════════════════ */
.stepper-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin: 20px;
}

/* ═══════════════════════════════════════════════
             STEPPER BAR
             ═══════════════════════════════════════════════ */
.stepper-bar {
    background: var(--primary);
    padding: 22px 28px 0;
    position: relative;
    overflow: hidden;
}

.stepper-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 88% 15%, rgba(232, 186, 55, 0.10) 0%, transparent 40%);
    pointer-events: none;
}

.steps-track {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    margin-top: 17px;
    position: relative;
    overflow: hidden;
}

.step-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--success);
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 84px;
    cursor: default;
}

.step-node.clickable {
    cursor: pointer;
}

.step-node.clickable:hover .step-bubble {
    background: rgba(255, 255, 255, 0.22);
}

.step-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.22);
    transition: var(--transition);
}

.step-bubble.is-active {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
    box-shadow: 0 0 0 6px rgba(232, 186, 55, 0.22);
    animation: bubblePulse 2.2s ease infinite;
}

.step-bubble.is-done {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.step-bubble.is-complete {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.step-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    text-align: center;
    white-space: nowrap;
    padding-bottom: 14px;
    transition: var(--transition);
}

.step-node.is-active .step-tag {
    color: var(--yellow);
}

.step-node.is-done .step-tag {
    color: rgba(255, 255, 255, 0.72);
}

/* ═══════════════════════════════════════════════
             STEP PANELS
             ═══════════════════════════════════════════════ */
.panels-body {
    padding: 25px 15px;
}

.step-pane {
    display: none;
}

.step-pane.is-active {
    display: block;
    animation: panelIn 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.pane-title {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
}

.pane-sub {
    font-size: 0.83rem;
    color: var(--muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pane-sub i {
    color: var(--yellow);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #bbb;
    margin: 22px 0 12px;
}

.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
}

.section-divider i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════
             FORM CONTROLS
             ═══════════════════════════════════════════════ */
.f-label {
    font-size: 0.81rem;
    font-weight: 600;
    color: #4a4a5a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.f-label i {
    font-size: 0.95rem;
    color: var(--primary);
}

.f-label .req {
    color: var(--secondary);
    font-size: 0.88rem;
}

.f-input,
.f-select,
.f-textarea {
    width: 100%;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    font-size: 0.84rem;
    font-family: var(--font-body);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.65);
    color: var(--dark);
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.f-input::placeholder,
.f-textarea::placeholder {
    color: #c0c0cc;
}

.f-input:focus,
.f-select:focus,
.f-textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.f-input.is-err,
.f-select.is-err,
.f-textarea.is-err {
    border-color: var(--secondary) !important;
    background: rgba(188, 6, 16, 0.03) !important;
}

.f-input-readonly {
    background: rgba(22, 16, 106, 0.04) !important;
    color: var(--muted) !important;
    cursor: not-allowed;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-color: rgba(22, 16, 106, 0.12) !important;
}

.f-input-readonly:focus {
    box-shadow: none !important;
}

.f-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.f-textarea {
    resize: vertical;
    min-height: 88px;
}

.f-hint {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.f-hint i {
    font-size: 0.8rem;
    color: var(--yellow);
}

.f-err-msg {
    font-size: 0.72rem;
    color: var(--secondary);
    margin-top: 4px;
    display: none;
    align-items: center;
    gap: 4px;
}

.f-err-msg.show {
    display: flex;
}

.f-err-msg i {
    font-size: 0.85rem;
}

/* Character counter */
.f-counter {
    font-size: 0.7rem;
    color: var(--muted);
    text-align: right;
    margin-top: 3px;
    transition: color 0.2s;
}

.f-counter.warn {
    color: var(--yellow);
}

.f-counter.over {
    color: var(--secondary);
}

/* Input icon wrapper */
.f-icon-wrap {
    position: relative;
}

.f-icon-wrap .f-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
}

.f-icon-wrap .f-input {
    padding-left: 36px;
}

.f-icon-wrap .f-input:focus~.f-icon-left,
.f-icon-wrap:focus-within .f-icon-left {
    color: var(--primary);
}

/* ═══════════════════════════════════════════════
             MEETING TYPE PICKER
             ═══════════════════════════════════════════════ */
.type-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 10px;
    margin-bottom: 6px;
}

.type-tile {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 14px 10px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.55);
    position: relative;
    user-select: none;
}

.type-tile:hover {
    border-color: var(--primary-mid);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.type-tile.is-sel {
    border-color: var(--primary);
    background: #68bc3a26;
    box-shadow: var(--shadow-card);
}

.type-tile.is-sel .type-check {
    display: flex;
}

.type-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.62rem;
    display: none;
    align-items: center;
    justify-content: center;
}

.type-check i {
    line-height: normal;
}

.type-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 9px;
    transition: var(--transition);
}

.type-tile:hover .type-icon,
.type-tile.is-sel .type-icon {
    transform: scale(1.1) rotate(-4deg);
}

.type-name {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--dark);
}

/* type-icon color helpers — avoids inline style */
.type-icon-general {
    background: rgba(22, 16, 106, 0.08);
    color: var(--primary);
}

.type-icon-board {
    background: var(--yellow-light);
    color: #a16207;
}

.type-icon-emergency {
    background: rgba(188, 6, 16, 0.08);
    color: var(--secondary);
}

.type-icon-agm {
    background: rgba(0, 120, 212, 0.08);
    color: var(--sky-blue);
}

.type-icon-committee {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.type-icon-special {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

/* ═══════════════════════════════════════════════
             AGENDA
             ═══════════════════════════════════════════════ */
.agenda-add-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.agenda-add-row .f-input {
    flex: 1;
}

.agenda-kbd-hint {
    font-size: 0.73rem;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

kbd {
    background: rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 5px;
    padding: 1px 5px;
    font-size: 0.7rem;
    font-family: var(--font-body);
    color: var(--dark);
}

.agenda-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.empty-state {
    text-align: center;
    padding: 30px 20px;
    border: 2px dashed rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.83rem;
    grid-column: 1 / -1;
}

.empty-state .empty-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
    opacity: 0.25;
}

.agenda-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: grab;
    animation: rowSlideIn 0.28s ease;
}

.agenda-row:active {
    cursor: grabbing;
}

.agenda-row:hover {
    background: var(--white);
    border-color: rgba(22, 16, 106, 0.15);
    box-shadow: 0 2px 10px rgba(22, 16, 106, 0.06);
}

.agenda-row.is-dragging {
    opacity: 0.45;
    border: 2px dashed var(--primary);
    background: var(--primary-light);
}

.agenda-row.is-over {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.01);
}

.drag-handle {
    color: #ccc;
    cursor: grab;
    font-size: 1.05rem;
    padding: 2px 3px;
    border-radius: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.drag-handle:hover {
    color: var(--primary);
}

.agenda-num {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 7px;
    font-size: 0.71rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agenda-text {
    flex: 1;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--dark);
    word-break: break-word;
}

/* ═══════════════════════════════════════════════
             INVITEES
             ═══════════════════════════════════════════════ */
.invitee-search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: flex-end;
}

.invitee-search-row .inv-level-select {
    width: 185px;
    flex-shrink: 0;
}

.invitee-search-row .f-input {
    flex: 1;
    min-width: 160px;
}

.search-drop {
    border: 1.5px solid rgba(22, 16, 106, 0.14);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    display: none;
    margin-bottom: 14px;
    animation: dropIn 0.2s ease;
}

.search-drop.show {
    display: block;
}

.search-row-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.search-row-item:last-child {
    border-bottom: none;
}

.search-row-item:hover {
    background: var(--primary-light);
}

.search-row-item.is-added {
    opacity: 0.4;
    pointer-events: none;
}

.s-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid var(--primary-light);
}

.s-name {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--dark);
}

.s-role {
    font-size: 0.71rem;
    color: var(--muted);
}

.s-add-btn {
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px 12px;
    background: var(--primary-light);
    border: none;
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.71rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.s-add-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.s-add-btn.is-done {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    pointer-events: none;
}

.invitee-list-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
}

.invitee-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    animation: rowSlideIn 0.28s ease;
}

.invitee-row:hover {
    background: var(--white);
    border-color: rgba(22, 16, 106, 0.13);
}

.inv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary-light);
}

.inv-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--dark);
}

.inv-meta {
    font-size: 0.72rem;
    color: var(--muted);
}

.level-chip {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: var(--yellow-light);
    color: #8a6200;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
             COUNT CHIPS & BADGES
             ═══════════════════════════════════════════════ */
.count-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ═══════════════════════════════════════════════
             BUTTONS
             ═══════════════════════════════════════════════ */
.btn-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(188, 6, 16, 0.08);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-remove:hover {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.12);
}

.btn-add {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-add:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-add:active {
    transform: translateY(0);
}

.btn-prev {
    padding: 9px 22px;
    border: 1.5px solid rgba(22, 16, 106, 0.18);
    border-radius: var(--radius-btn);
    background: transparent;
    color: var(--primary);
    font-size: 0.83rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-prev:hover {
    background: var(--primary-light);
}

.btn-prev:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.btn-skip {
    padding: 9px 18px;
    background: transparent;
    color: var(--muted);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.81rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-skip:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-clear {
    padding: 6px 14px;
    background: rgba(188, 6, 16, 0.07);
    color: var(--secondary);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-clear:hover {
    background: rgba(188, 6, 16, 0.14);
}

.btn-next {
    padding: 9px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.83rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-next:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(22, 16, 106, 0.24);
}

.btn-next:active {
    transform: translateY(0);
}

.btn-submit {
    padding: 9px 26px;
    background: linear-gradient(135deg, #16106a 0%, #2d25b5 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    font-size: 0.83rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(22, 16, 106, 0.26);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 16, 106, 0.36);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
             STEP FOOTER
             ═══════════════════════════════════════════════ */
.step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 15px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-mid {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(22, 16, 106, 0.2);
    transition: var(--transition);
}

.step-dot.is-active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

.step-dot.is-done {
    background: var(--success);
}

.step-counter {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════
             PROGRESS SUMMARY BAR (top of panels-body)
             ═══════════════════════════════════════════════ */
.progress-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.progress-summary-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

.progress-summary-item i {
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════
             BANNER UPLOAD ZONE
             ═══════════════════════════════════════════════ */
.banner-upload-zone {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.banner-upload-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.22s ease;
    text-align: center;
}

.banner-upload-inner:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(22, 16, 106, 0.08);
}

.banner-upload-inner i {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
}

.banner-upload-inner span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.banner-upload-inner small {
    font-size: 0.72rem;
    color: var(--muted);
}

/* ── Banner preview (after crop) ── */
.banner-preview {
    display: none;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.banner-preview.show {
    display: block;
}

.banner-preview img {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    display: block;
}

.banner-preview-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
}

.banner-preview-actions button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-body);
    padding: 5px 12px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#btnRecrop {
    background: rgba(22, 16, 106, 0.85);
    color: #fff;
}

#btnRecrop:hover {
    background: var(--primary);
}

#btnRemoveBanner {
    background: rgba(188, 6, 16, 0.82);
    color: #fff;
}

#btnRemoveBanner:hover {
    background: var(--secondary);
}

/* ═══════════════════════════════════════════════
             CROP MODAL
             ═══════════════════════════════════════════════ */
.crop-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 40, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 16px;
}

.crop-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.crop-modal-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(10, 8, 40, 0.3);
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.crop-modal-overlay.show .crop-modal-box {
    transform: translateY(0) scale(1);
}

.crop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.crop-modal-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.crop-modal-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.crop-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.crop-close-btn:hover {
    background: rgba(188, 6, 16, 0.1);
    color: var(--secondary);
}

.crop-modal-body {
    overflow: hidden;
    flex: 1;
    min-height: 320px;
    background: #0f0f0f;
}

.crop-modal-body img {
    display: block;
    max-width: 100%;
}

.crop-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid #f1f5f9;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 10px;
}

.crop-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--muted);
}

.crop-hint i {
    color: var(--yellow);
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════════
             EVENT REVIEW PAGE  (pane 4)
             ═══════════════════════════════════════════════ */


/* Outer wrapper */
.ev-review-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(22, 16, 106, 0.08);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(14, 10, 60, 0.04);
    animation: ticketDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ── Banner ── */
.ev-review-banner {
    position: relative;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2d25b5 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.ev-review-banner.has-cover {
    aspect-ratio: 16 / 3;
}

.ev-review-banner.has-cover .ev-review-banner-overlay {
    background: linear-gradient(to top, rgba(14, 10, 60, 0.85) 0%, rgba(14, 10, 60, 0.35) 100%);
}

.ev-review-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 16, 106, 0.82) 0%, rgba(45, 37, 181, 0.65) 100%);
    z-index: 1;
}

/* subtle pattern overlay */
.ev-review-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(232, 186, 55, 0.12) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}

.ev-review-banner-content {
    position: relative;
    z-index: 3;
    padding: 28px 32px 24px;
    width: 100%;
}

.ev-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.ev-badge-open {
    background: rgba(34, 197, 94, .22);
    color: #4ade80;
}

.ev-badge-closed {
    background: rgba(239, 68, 68, .22);
    color: #f87171;
}

.ev-badge-virtual {
    background: rgba(14, 165, 233, .22);
    color: #38bdf8;
}

.ev-badge-hybrid {
    background: rgba(168, 85, 247, .22);
    color: #c084fc;
}

.ev-badge-default {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

.ev-review-name {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
    word-break: break-word;
}

.ev-review-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
}

/* ── Sections grid ── */
.ev-review-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(22, 16, 106, 0.06);
}

/* ── Card ── */
.ev-review-card {
    background: #fff;
    padding: 26px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ev-review-card--full {
    grid-column: 1 / -1;
}

.ev-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ev-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ev-card-title {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #334155;
}

/* ── Description box ── */
.ev-desc-box {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: clamp(0.82rem, 2vw, 0.9rem);
    color: #475569;
    line-height: 1.7;
    white-space: pre-wrap;
    min-height: 70px;
    word-break: break-word;
}

/* ── Timeline ── */
.ev-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 4px;
}

.ev-tl-node {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ev-tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    border: 2px solid;
}

.ev-tl-node--start .ev-tl-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(22, 16, 106, 0.12);
}

.ev-tl-node--end .ev-tl-dot {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.ev-tl-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary), var(--success));
    margin-left: 6px;
    opacity: 0.35;
}

.ev-tl-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 6px;
}

.ev-tl-label {
    font-size: clamp(0.65rem, 1.5vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.ev-tl-date {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 700;
    color: #1e293b;
}

.ev-tl-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(0.72rem, 1.8vw, 0.8rem);
    color: #64748b;
    font-weight: 500;
}

/* ── Registration list rows ── */
.ev-reg-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    overflow: hidden;
}

.ev-reg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    transition: background 0.18s ease;
}

.ev-reg-item:last-child {
    border-bottom: none;
}

.ev-reg-item:hover {
    background: #fafbff;
}

.ev-reg-item--full {
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ev-reg-item--full .ev-pub-chips {
    margin-left: 0;
}

.ev-reg-key {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: clamp(0.72rem, 1.8vw, 0.8rem);
    font-weight: 600;
    color: #64748b;
    min-width: 155px;
    flex-shrink: 0;
}

.ev-reg-key i {
    font-size: 0.95rem;
    color: #94a3b8;
}

.ev-reg-val {
    font-size: clamp(0.78rem, 2vw, 0.88rem);
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 5px;
    /* margin-left: auto; */
}


/* Pay badges */
.ev-pay-free {
    color: #16a34a;
}

.ev-pay-paid {
    color: var(--primary);
}

/* Reg required badges */
.ev-badge-reg-yes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
}

.ev-badge-reg-no {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: clamp(0.72rem, 1.8vw, 0.82rem);
}

/* Pub chips */
.ev-pub-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ev-pub-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(0.68rem, 1.5vw, 0.78rem);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(22, 16, 106, 0.08);
    color: var(--primary);
}

.ev-pub-chip--web {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.ev-pub-chip--none {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

/* ── Confirm notice ── */
.ev-review-notice {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border-top: 1px solid rgba(22, 16, 106, 0.06);
    border-radius: 0 0 18px 18px;
    padding: 16px 24px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: #475569;
    line-height: 1.5;
}

.ev-review-notice i {
    font-size: 1.2rem;
    color: var(--primary);
    /* background: rgba(22, 16, 106, 0.06); */
    /* padding: 8px; */
    border-radius: 10px;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ev-review-sections {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .ev-reg-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ev-reg-key {
        min-width: 100%;
    }

    .ev-review-banner-content {
        padding: 20px 18px 18px;
    }

    .ev-review-banner.has-cover {
        aspect-ratio: 16 / 10;
    }

    .ev-review-card {
        padding: 20px 16px 18px;
    }

    /* Crop Modal Mobile */
    .crop-modal-footer {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
    }

    .crop-modal-footer .crop-hint {
        width: 100%;
        justify-content: center;
    }

    .crop-modal-footer .d-flex {
        width: 100%;
    }

    .crop-modal-footer .d-flex button {
        flex: 1;
        justify-content: center;
        padding: 9px 11px;
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════════════
             REVIEW STEP
             ═══════════════════════════════════════════════ */
.review-section {
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid rgba(22, 16, 106, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(22, 16, 106, 0.03);
    animation: fadeUp 0.4s ease both;
}

.review-section:nth-child(2) {
    animation-delay: 0.15s;
}

.review-section-title {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px dashed #f1f3f5;
    padding-bottom: 12px;
}

.review-section-title i {
    color: var(--primary);
    font-size: 1.2rem;
    background: var(--primary-light);
    padding: 6px;
    border-radius: 8px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.review-field {
    padding: 16px 20px;
    background: #ffffff;
    background: linear-gradient(145deg, #ffffff, #fcfdfd);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.review-field::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.015) 100%);
    pointer-events: none;
}

.review-field:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    background: #fff;
    border-color: rgba(0, 0, 0, 0.09);
}

.review-field-key {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.review-field-key i {
    font-size: 1.15rem !important;
    margin-right: 10px !important;
    background: rgba(0, 0, 0, 0.035);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.review-field-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    word-break: break-word;
    padding-left: 42px;
    line-height: 1.45;
}

/* ═══════════════════════════════════════════════
             TICKET STYLE PREVIEW (ULTRA PREMIUM)
             ═══════════════════════════════════════════════ */
.report-ticket-wrap {
    padding: 0px;
    perspective: 1000px;
}

.report-ticket {
    background: transparent;
    filter: drop-shadow(0 15px 30px rgba(22, 16, 106, 0.15));
    animation: ticketDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ticketDrop {
    0% {
        opacity: 0;
        transform: translateY(-25px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ticket-header {
    position: relative;
    padding: 30px 35px 25px;
    background: #fff;
    color: var(--dark);
    border-radius: 20px 20px 0 0;
    border-top: 5px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e2e8f0;
}

.ticket-header-bg {
    display: none;
}

.ticket-header-content {
    position: relative;
    z-index: 2;
}

.ticket-badge {
    display: none;
}

.ticket-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
    color: #1e293b;
}

.ticket-subtitle {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    color: #64748b;
    margin: 0;
}

.ticket-icon-bg {
    font-size: 2.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticket-body {
    padding: 35px 35px 15px;
    border-radius: 20px 20px 0 0;
    border-top: 5px solid var(--primary);
    background: #fff;
    -webkit-mask-image: radial-gradient(circle at 0% 100%, transparent 16px, black 17px),
        radial-gradient(circle at 100% 100%, transparent 16px, black 17px);
    -webkit-mask-size: 51% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: left bottom, right bottom;
}

.ticket-body-middle {
    padding: 15px 35px 15px;
    border-radius: 0 0 0 0;
    background: #fff;
    -webkit-mask-image:
        radial-gradient(circle at 0% 0%, transparent 16px, black 17px),
        radial-gradient(circle at 100% 0%, transparent 16px, black 17px),
        radial-gradient(circle at 0% 100%, transparent 16px, black 17px),
        radial-gradient(circle at 100% 100%, transparent 16px, black 17px);
    -webkit-mask-size: 51% 51%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: left top, right top, left bottom, right bottom;
}

.ticket-footer {
    padding: 15px 35px 35px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    -webkit-mask-image: radial-gradient(circle at 0% 0%, transparent 16px, black 17px),
        radial-gradient(circle at 100% 0%, transparent 16px, black 17px);
    -webkit-mask-size: 51% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: left top, right top;
}

.ticket-divider {
    height: 0;
    border-top: 2px dashed #cbd5e1;
    margin: 0 20px;
    position: relative;
    z-index: 5;
}

.ticket-section-title {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1e293b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.ticket-section-title span {
    margin-right: 15px;
}

.ticket-section-icon {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--primary);
    margin-right: 8px;
}

.ticket-section-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #e2e8f0;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    gap: 20px 30px;
}

.td-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.td-label {
    font-size: clamp(0.65rem, 2vw, 0.72rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    opacity: 0.8;
    letter-spacing: 0.6px;
    margin-bottom: 0;
    /* display: flex; */
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.td-label i {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.8;
}

.td-value {
    font-size: clamp(0.9rem, 2.5vw, 0.72rem);
    font-weight: 700;
    color: #1e293b;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.td-purpose-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    color: #334155;
    line-height: 1.6;
    font-weight: 500;
    margin-top: 8px;
}

.ticket-rows-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ticket-row {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    animation: fadeUp 0.4s ease both;
    transition: all 0.2s ease;
}

.ticket-row:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.ticket-col-icon {
    margin-right: 0px;
}

.ticket-col-icon .icon-box {
    width: 44px;
    height: 44px;
    background: #f0f9ff;
    color: #0ea5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ticket-row:nth-child(2) .icon-box {
    background: #fdf4ff;
    color: #d946ef;
}

.ticket-row:nth-child(3) .icon-box {
    background: #f0fdf4;
    color: #22c55e;
}

.ticket-row:nth-child(4) .icon-box {
    background: #fffbeb;
    color: #d97706;
}

.ticket-col-desc {
    flex: 1;
}

.ticket-claim-type {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

.ticket-claim-sub {
    font-size: clamp(0.65rem, 2vw, 0.75rem);
}

.ticket-col-amt {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 800;
    color: var(--dark);
}

.ticket-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 16, 106, 0.08);
    padding: 16px 20px;
    border-radius: 16px;
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(22, 16, 106, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.ticket-total-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 16, 106, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.ticket-total-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(22, 16, 106, 0.1);
    border-color: rgba(22, 16, 106, 0.15);
}

.total-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
}

.total-value {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.empty-allowance {
    text-align: center;
    padding: 25px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
}

.empty-allowance-icon {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
}

.review-agenda-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-agenda-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.82rem;
}

.review-agenda-list li .ag-n {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
             SUCCESS SCREEN
             ═══════════════════════════════════════════════ */
.success-screen {
    display: none;
    text-align: center;
    padding: 48px 24px 40px;
    animation: successIn 0.48s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-screen.show {
    display: block;
}

.success-orb {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #2d25b5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: var(--yellow);
    box-shadow: 0 8px 30px rgba(22, 16, 106, 0.3);
    animation: orbBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
    position: relative;
}

.success-orb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: orbPulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s;
    opacity: 0;
}

@keyframes orbPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.success-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    animation: fadeUp 0.6s ease 0.2s both;
}

.success-sub {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--muted);
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease 0.3s both;
}

.meeting-id-pill {
    display: inline-block;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 10px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    animation: fadeUp 0.6s ease 0.4s both;
}

.success-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.5s both;
}

.success-stat {
    background: #fff;
    border: 1px solid rgba(22, 16, 106, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 16px rgba(22, 16, 106, 0.04);
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(22, 16, 106, 0.08);
}

.success-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.success-stat-num.text-primary {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
}

.success-stat-lbl {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--muted);
    font-weight: 600;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-screen .mt-5 {
    animation: fadeUp 0.6s ease 0.6s both;
}

/* ═══════════════════════════════════════════════
             TOASTS
             ═══════════════════════════════════════════════ */
.toast-container-coa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coa-toast {
    background: var(--dark-card-bg);
    color: var(--white);
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 0.82rem;
    font-weight: 500;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coa-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--yellow);
    animation: toastBar 2.6s linear forwards;
}

.coa-toast i {
    font-size: 1.1rem;
    color: var(--yellow);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
             ANIMATIONS
             ═══════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateX(22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes panelBack {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rowSlideIn {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rowSlideOut {
    to {
        opacity: 0;
        transform: translateX(18px) scale(0.95);
    }
}

@keyframes bubblePulse {

    0%,
    100% {
        box-shadow: 0 0 0 6px rgba(232, 186, 55, 0.22);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(232, 186, 55, 0.08);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

@keyframes successIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes orbBounce {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-up {
    animation: fadeUp 0.44s ease forwards;
    opacity: 0;
}

.d1 {
    animation-delay: 0.05s;
}

.d2 {
    animation-delay: 0.10s;
}

.d3 {
    animation-delay: 0.15s;
}

.spinning {
    animation: spin 0.7s linear infinite;
}

/* ═══════════════════════════════════════════════
             RESPONSIVE
             ═══════════════════════════════════════════════ */






/* ═══════════════════════════════════════════════
         WORK REPORT ADDITIONS
         ═══════════════════════════════════════════════ */
.radio-card {
    position: relative;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, #e9ecef, #dee2e6) border-box;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.radio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.form-check-input:checked+.radio-card {
    background: linear-gradient(#f8faff, #f1f5fb) padding-box,
        linear-gradient(135deg, var(--primary, #16106a) 0%, #4a43d4 100%) border-box;
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -4px rgba(22, 16, 106, 0.15), 0 4px 8px -2px rgba(22, 16, 106, 0.1);
}

.radio-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #868e96;
    font-size: 1.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.form-check-input:checked+.radio-card .radio-card-icon {
    background: linear-gradient(135deg, var(--primary, #16106a) 0%, #4a43d4 100%);
    color: #ffffff;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 16px rgba(22, 16, 106, 0.25);
}

.radio-card-text {
    font-weight: 700;
    color: #495057;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    text-align: center;
}

.form-check-input:checked+.radio-card .radio-card-text {
    color: var(--primary, #16106a);
}

.radio-card-check {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0;
    color: var(--primary, #16106a);
    font-size: 1.5rem;
    transform: scale(0.3) rotate(45deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-check-input:checked+.radio-card .radio-card-check {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.allowance-box {
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.claim-check-wrapper {
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.claim-check-wrapper:hover {
    border-color: #ced4da;
}

.claim-check-wrapper input:checked {
    accent-color: var(--primary);
}

.total-box {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.f-input-amount {
    font-weight: bold;
    color: var(--primary);
}

.f-input-file {
    background: #fff;
}

.review-muted-text {
    font-size: 0.82rem;
    color: var(--muted);
}

.review-total-row {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(22, 16, 106, 0.04) 0%, rgba(22, 16, 106, 0.01) 100%);
    border: 1px solid rgba(22, 16, 106, 0.12);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(22, 16, 106, 0.06);
}

.review-total-row .review-field-key {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: #343a40;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-total-row .review-field-val {
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    color: var(--primary, #16106a);
    text-shadow: 0 2px 4px rgba(22, 16, 106, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 99%;
}

/* ===============================================
       ALLOWANCE TOGGLE BUTTON
    =============================================== */
.allowance-toggle-btn {
    color: #6c757d !important;
    border: none !important;
    transition: all 0.3s ease;
}

.allowance-toggle-btn:hover {
    color: #16106a !important;
    background: transparent;
}

.btn-check:checked+.allowance-toggle-btn[for="allowanceYes"] {
    background-color: #16106a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(22, 16, 106, 0.25) !important;
}

.btn-check:checked+.allowance-toggle-btn[for="allowanceNo"] {
    background-color: #6c757d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.25) !important;
}

/* ===============================================
       DYNAMIC CLAIMS LIST
    =============================================== */
.claims-control-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: clamp(10px, 2vw, 15px);
    background: linear-gradient(to right, #f8faff, #f1f5fb);
    border: 1px solid rgba(22, 16, 106, 0.08);
    border-radius: 16px;
    padding: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(22, 16, 106, 0.03);
}

.claims-control-row>div:first-child {
    flex: 3 1 250px;
}

.claims-control-row>div:last-child {
    flex: 1 1 120px;
}

.claims-control-row .f-label {
    font-size: clamp(0.85rem, 2vw, 0.95rem) !important;
    font-weight: 700;
    color: var(--dark);
}

.claims-control-row button {
    width: 100%;
    justify-content: center;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    box-shadow: 0 4px 10px rgba(22, 16, 106, 0.15);
    transition: all 0.3s ease;
}

.claims-control-row button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(22, 16, 106, 0.25);
}

.claims-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.claim-item-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1rem;
    display: block;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    animation: fadeIn 0.3s ease;
    position: relative;
}

.claim-item-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.claim-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(22, 16, 106, 0.05);
    color: var(--primary, #16106a);
}

.claim-item-details {
    flex: 1;
}

.claim-item-title {
    font-weight: 700;
    color: #343a40;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.claim-item-sub {
    font-size: 0.82rem;
    color: #6c757d;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

.description-amount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.claim-item-amount {
    font-weight: 800;
    color: var(--primary, #16106a);
    font-size: 1.05rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.claim-item-delete {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.2rem;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.claim-item-delete:hover {
    color: #dc3545;
}

.empty-claims-state {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #f8f9fa;
    border: 2px dashed #e9ecef;
    border-radius: 12px;
    color: #868e96;
}

.empty-claims-state i {
    font-size: 2.5rem;
    color: #ced4da;
    margin-bottom: 10px;
    display: block;
}

/* ==========================================
   STEPPER RESPONSIVE & AUTO ADJUSTABLE FONT
   ========================================== */
.stepper-bar .steps-track {
    overflow-x: auto;
    overflow-y: hidden;
    /* padding-bottom: 15px; */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.stepper-bar .steps-track::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.stepper-bar .step-bubble {
    width: clamp(28px, 6vw, 36px) !important;
    height: clamp(28px, 6vw, 36px) !important;
    font-size: clamp(0.65rem, 1.5vw, 0.84rem) !important;
}

.stepper-bar .step-tag {
    font-size: clamp(0.55rem, 1.2vw, 0.7rem) !important;
    white-space: nowrap;
}

.stepper-bar .step-node {
    min-width: clamp(60px, 12vw, 84px) !important;
}

.stepper-bar .step-line {
    margin-top: clamp(14px, 3vw, 17px) !important;
    min-width: 20px;
}

@media (min-width: 769px) {
    .td-label i {
        margin-right: 5px;
    }
}

@media (max-width: 374px) {
    .stepper-bar .step-tag {
        display: none;
    }

    .stepper-bar .steps-track {
        padding-bottom: 15px;
    }

    .stepper-bar .step-node {
        min-width: clamp(55px, 12vw, 84px) !important;
    }

    .stepper-bar .step-line {
        min-width: 15px;
    }

    .stepper-bar {
        padding: 22px 0px 0;
    }

    .invitee-list-wrap {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 20px 10px;
        font-size: 0.75rem;
    }

    .invitee-row {
        padding: 8px 10px;
        gap: 8px;
    }

    .inv-avatar {
        width: 28px;
        height: 28px;
    }

    .inv-name {
        font-size: 0.75rem;
    }

    .inv-meta {
        font-size: 0.65rem;
    }

    .level-chip {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .btn-remove {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .review-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-field {
        padding: 8px 12px;
    }

    .total-value {
        margin-left: auto;
    }
}

@media (max-width: 439px) {
    .review-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .review-field {
        padding: 8px 12px;
    }

    .drag-handle,
    .agenda-num {
        display: none;
    }
}

@media (max-width: 524px) {
    .ticket-body {
        padding: 0px;
        border-radius: 0;
        border-top: 0px solid var(--primary);
        background: transparent;
        -webkit-mask-image: none;
        -webkit-mask-size: 51% 100%;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: left bottom, right bottom;
    }

    .ticket-footer {
        padding: 0px;
        background: transparent;
        border-radius: 0;
        -webkit-mask-image: none;
        -webkit-mask-size: 51% 100%;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: left top, right top;
    }

    .ticket-divider {
        height: 25px;
        border-top: 0px dashed #cbd5e1;
        margin: 0 20px;
        position: relative;
        z-index: 5;
    }

    .td-purpose-box,
    .empty-allowance {
        background: transparent;
    }

    .ticket-details-grid {
        grid-template-columns: 100%;
    }

    .td-item {
        display: block;
    }

    .ticket-rows-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .description-amount {
        flex-direction: column;
        align-items: flex-start;
    }
}