/* ============================================================
   Raihan Online Appointment System Pro — Public CSS v3.0
   Mobile-First Fully Responsive
   ============================================================ */

:root {
    --rp:        #2563eb;
    --rp-dark:   #1d4ed8;
    --rp-light:  #eff6ff;
    --rs:        #16a34a;
    --rd:        #dc2626;
    --rw:        #d97706;
    --ri:        #0891b2;
    --rg:        #6b7280;
    --rbg:       #f8fafc;
    --rb:        #e5e7eb;
    --rwh:       #ffffff;
    --shadow-sm: 0 2px 8px rgba(37,99,235,0.07);
    --shadow-md: 0 6px 28px rgba(37,99,235,0.13);
    --shadow-lg: 0 14px 44px rgba(37,99,235,0.17);
    --r:         14px;
    --ri2:       10px;
    --font:      'Hind Siliguri', Arial, sans-serif;
}

/* ── RESET / BASE ── */
.raihan-appt-wrap *,
.raihan-tracking-wrap * {
    font-family: var(--font) !important;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; height: auto; }

/* ── OUTER WRAP ── */
.raihan-appt-wrap {
    width: 100%;
    max-width: 640px;
    margin: 24px auto;
    padding: 0 14px;
}
.raihan-wrap-wide   { max-width: 980px; }
.raihan-tracking-wrap {
    width: 100%;
    max-width: 780px;
    margin: 24px auto;
    padding: 0 14px;
}

/* ── CARD ── */
.raihan-appt-card {
    background: var(--rwh);
    border-radius: var(--r);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(37,99,235,0.09);
    overflow: hidden;
    width: 100%;
}

/* ═══════════════════════════
   HEADER
═══════════════════════════ */
.raihan-appt-header {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
    color: #fff;
    padding: 32px 20px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.raihan-appt-header::before {
    content:'';
    position:absolute; top:-50px; right:-50px;
    width:180px; height:180px;
    background:rgba(255,255,255,.07);
    border-radius:50%;
    pointer-events:none;
}
.raihan-appt-header::after {
    content:'';
    position:absolute; bottom:-40px; left:-40px;
    width:130px; height:130px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    pointer-events:none;
}

.raihan-header-logo {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.4);
    margin: 0 auto 12px;
    display: block;
    position: relative; z-index:1;
}
.raihan-appt-header-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    position: relative; z-index:1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
}
.raihan-appt-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #fff !important;
    position: relative; z-index:1;
    line-height: 1.3 !important;
    word-break: break-word;
}
.raihan-appt-subtitle {
    font-size: 13px !important;
    color: rgba(255,255,255,.82) !important;
    margin: 0 !important;
    position: relative; z-index:1;
    word-break: break-word;
}
.raihan-header-divider {
    width: 36px; height: 3px;
    background: rgba(255,255,255,.4);
    border-radius: 2px;
    margin: 14px auto 0;
    position: relative; z-index:1;
}

/* ═══════════════════════════
   FORM
═══════════════════════════ */
.raihan-appt-form  { padding: 22px 18px; }

/* Two-column row on ≥480px, single on mobile */
.raihan-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width:480px) {
    .raihan-form-row { grid-template-columns: 1fr; gap: 0; }
}

.raihan-form-group { margin-bottom: 16px; }

.raihan-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.raihan-label-icon { margin-right: 3px; }
.raihan-required   { color: var(--rd); }

/* ── INPUT ── */
.raihan-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--rb);
    border-radius: var(--ri2);
    font-size: 14px;
    font-family: var(--font) !important;
    color: #111827;
    background: #fdfdff;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* prevent iOS zoom on focus */
    font-size: 16px !important;
}
.raihan-input:focus {
    border-color: var(--rp);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    background: #fff;
}
.raihan-input.raihan-input-error {
    border-color: var(--rd);
    box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}
.raihan-textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.5;
    font-size: 16px !important;
}
.raihan-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 d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 38px;
    cursor: pointer;
}

.raihan-field-error {
    color: var(--rd);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}
.raihan-field-error.show { display: block; }

.raihan-submit-group { margin-bottom: 0; }

/* ── BUTTONS ── */
.raihan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 22px;
    border: none;
    border-radius: var(--ri2);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font) !important;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    white-space: nowrap;
}
.raihan-btn-primary {
    background: linear-gradient(135deg, var(--rp), #3b82f6);
    color: #fff !important;
    width: 100%;
    box-shadow: 0 4px 14px rgba(37,99,235,.32);
}
.raihan-btn-primary:hover,
.raihan-btn-primary:focus {
    background: linear-gradient(135deg, var(--rp-dark), var(--rp));
    box-shadow: 0 6px 18px rgba(37,99,235,.42);
    color: #fff !important;
    transform: translateY(-1px);
}
.raihan-btn-primary:active { transform: translateY(0); }
.raihan-btn-primary:disabled { opacity:.7; cursor:not-allowed; transform:none; }

.raihan-btn-outline {
    background: transparent;
    color: var(--rp) !important;
    border: 2px solid var(--rp);
    width: 100%;
    box-shadow: none;
}
.raihan-btn-outline:hover { background: var(--rp-light); }

/* ── SPINNER ── */
.raihan-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rspin .65s linear infinite;
    vertical-align: middle;
    flex-shrink: 0;
}
@keyframes rspin { to { transform: rotate(360deg); } }

/* ── ALERTS ── */
#raihan-form-messages { padding: 0 18px; }
.raihan-alert {
    padding: 12px 15px;
    border-radius: var(--ri2);
    font-size: 14px;
    margin: 14px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
    word-break: break-word;
}
.raihan-alert-success { background:#dcfce7; color:#166534; border:1px solid #86efac; }
.raihan-alert-error   { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }

/* ═══════════════════════════════════════════════
   THANK YOU / CONFIRMATION PAGE
═══════════════════════════════════════════════ */

/* ── SUCCESS BANNER ── */
.raihan-success-banner {
    text-align: center;
    padding: 28px 18px 22px;
    background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
    border-radius: var(--r);
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.raihan-success-banner::before {
    content:''; position:absolute; top:-50px; right:-50px;
    width:200px; height:200px;
    background:rgba(255,255,255,.07); border-radius:50%;
    pointer-events:none;
}

.raihan-success-anim  { margin-bottom: 14px; position:relative; z-index:1; }
.raihan-check-circle  { width:64px; height:64px; margin: 0 auto; }
.raihan-check-svg     { width:64px; height:64px; }

.raihan-check-circle-bg {
    stroke: rgba(255,255,255,.3);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: raihan-circle .6s ease-in-out forwards;
}
.raihan-check-tick {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: raihan-tick .4s .5s ease-in-out forwards;
}
@keyframes raihan-circle { to { stroke-dashoffset: 0; } }
@keyframes raihan-tick   { to { stroke-dashoffset: 0; } }

.raihan-success-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    position: relative; z-index:1;
}
.raihan-success-sub {
    color: rgba(255,255,255,.85) !important;
    font-size: 13px !important;
    margin: 0 !important;
    position: relative; z-index:1;
    line-height: 1.5 !important;
    word-break: break-word;
}

/* ── GRID: Details + Status Box ── */
/* Desktop: side by side | Mobile: stacked */
.raihan-ty-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 18px;
    align-items: start;
}
@media (max-width: 720px) {
    .raihan-ty-grid {
        grid-template-columns: 1fr;
    }
    /* Put status box ABOVE details on mobile */
    .raihan-status-check-box { order: -1; }
}

/* ── DETAILS CARD ── */
.raihan-details-card { overflow: visible; }

.raihan-card-header-strip {
    background: linear-gradient(90deg, #1e40af, #2563eb);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.raihan-strip-logo {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.4);
    flex-shrink: 0;
}
.raihan-strip-icon  { font-size: 20px; flex-shrink:0; }
.raihan-strip-title { font-size: 14px; font-weight:600; color:#fff; word-break:break-word; }

/* ID Hero */
.raihan-appt-id-hero {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    padding: 14px 18px;
    border-bottom: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.raihan-id-label {
    font-size: 11px;
    color: #3b82f6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}
.raihan-id-value {
    font-family: 'Courier New', monospace !important;
    font-size: 16px;
    font-weight: 800;
    color: var(--rp);
    background: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 2px solid var(--rp);
    letter-spacing: 1px;
    word-break: break-all;
}

/* Detail List */
.raihan-detail-list  { padding: 4px 0; }

.raihan-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 18px;
    border-bottom: 1px solid #f3f4f6;
    transition: background .15s;
}
.raihan-detail-item:last-child { border-bottom: none; }
.raihan-detail-item:hover      { background: #fafbff; }

.raihan-detail-item-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    width: 24px;
    text-align: center;
}
.raihan-detail-item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.raihan-detail-item-label {
    font-size: 11px;
    color: var(--rg);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.raihan-detail-item-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
    line-height: 1.4;
}

/* Slip footer */
.raihan-slip-footer {
    background: #f8fafc;
    border-top: 1px solid var(--rb);
    padding: 11px 18px;
    text-align: center;
}
.raihan-slip-note { font-size: 12px; color: var(--rg); }

/* ── STATUS CHECK BOX ── */
.raihan-status-check-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.raihan-status-check-inner {
    background: #fff;
    border-radius: var(--r);
    border: 1px solid rgba(37,99,235,.12);
    box-shadow: var(--shadow-sm);
    padding: 22px 18px;
}
.raihan-scb-icon  { font-size: 36px; text-align: center; margin-bottom: 10px; }
.raihan-scb-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: center;
    margin: 0 0 7px !important;
}
.raihan-scb-desc {
    font-size: 13px;
    color: var(--rg);
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.6;
}
.raihan-scb-btn {
    margin-bottom: 18px;
    font-size: 14px;
    padding: 13px 16px;
}

/* Inline check */
.raihan-inline-check {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 16px;
}
#raihan-inline-result { margin-top: 4px; }

/* Status info list */
.raihan-scb-info-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 4px;
}
.raihan-scb-info-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: #374151;
    line-height: 1.4;
}
.raihan-status-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-pending   { background: var(--rw); }
.dot-approved  { background: var(--rs); }
.dot-completed { background: var(--rp); }

.raihan-new-appt-btn {
    font-size: 14px;
    padding: 12px 16px;
}

/* ── STATUS PILLS ── */
.raihan-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.status-pending   { background:#fef3c7; color:#92400e; }
.status-approved  { background:#dcfce7; color:#166534; }
.status-rejected  { background:#fee2e2; color:#991b1b; }
.status-completed { background:#dbeafe; color:#1e40af; }

/* ═══════════════════════════════════════════════
   STATUS TRACKING PAGE
═══════════════════════════════════════════════ */

.raihan-tracking-search-card { margin-bottom: 18px; }

.raihan-tracking-form {
    padding: 18px 18px 22px;
}

.raihan-tracking-search-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 480px) {
    .raihan-tracking-search-row { flex-direction: column; }
}

.raihan-tracking-input-wrap {
    flex: 1;
    position: relative;
    width: 100%;
}
.raihan-tracking-icon {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    width: 17px; height: 17px;
    color: var(--rg);
    pointer-events: none;
}
.raihan-tracking-input  { padding-left: 42px; }
.raihan-tracking-btn {
    width: auto;
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 15px;
}
@media (max-width: 480px) {
    .raihan-tracking-btn { width: 100%; }
}

/* Found info bar */
.raihan-tracking-header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}
.raihan-tracking-found-badge {
    background: #dcfce7;
    color: #166534;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
}
.raihan-tracking-mobile-tag {
    background: #eff6ff;
    color: var(--rp);
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    word-break: break-all;
}

/* ── TRACKING CARDS ── */
.raihan-tracking-results { display: flex; flex-direction: column; gap: 14px; }

.raihan-tracking-card {
    background: #fff;
    border-radius: var(--r);
    border: 1px solid var(--rb);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    animation: slideUp .35s ease both;
}
@keyframes slideUp {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}

.raihan-tc-pending   { border-left: 4px solid var(--rw); }
.raihan-tc-approved  { border-left: 4px solid var(--rs); }
.raihan-tc-rejected  { border-left: 4px solid var(--rd); }
.raihan-tc-completed { border-left: 4px solid var(--rp); }

/* Card top bar */
.raihan-tc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbff;
    flex-wrap: wrap;
    gap: 8px;
}
.raihan-tc-id-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.raihan-tc-serial {
    width: 24px; height: 24px;
    background: var(--rp);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.raihan-tc-appt-id {
    font-family: 'Courier New', monospace !important;
    font-size: 12px;
    font-weight: 700;
    color: var(--rp);
    background: #eff6ff;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: .5px;
    word-break: break-all;
}

/* Card body */
.raihan-tc-body { padding: 14px 16px; }

.raihan-tc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.raihan-tc-row:last-child { margin-bottom: 0; }

.raihan-tc-col  { display: flex; flex-direction: column; gap: 3px; }
.raihan-tc-label {
    font-size: 11px;
    color: var(--rg);
    font-weight: 500;
}
.raihan-tc-value {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
    line-height: 1.4;
}

/* Admin note */
.raihan-tc-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 9px 12px;
    margin-top: 10px;
}
.raihan-tc-note-icon  { font-size: 15px; flex-shrink:0; }
.raihan-tc-note-text  { font-size: 13px; color:#92400e; line-height:1.5; word-break:break-word; }

/* ── TIMELINE ── */
.raihan-tc-timeline {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px 12px;
    border-top: 1px solid #f3f4f6;
    background: #fafbff;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.raihan-tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    min-width: 70px;
}
.raihan-tl-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px; left: calc(50% + 10px);
    right: calc(-50% + 10px);
    height: 2px;
    background: var(--rb);
    z-index: 0;
}
.raihan-tl-step.done:not(:last-child)::after  { background: var(--rs); }

.raihan-tl-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--rb);
    background: #fff;
    position: relative; z-index:1;
    transition: all .2s;
    flex-shrink: 0;
}
.raihan-tl-step.done .raihan-tl-dot {
    background: var(--rs);
    border-color: var(--rs);
    box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.raihan-tl-step.active .raihan-tl-dot {
    background: var(--rw);
    border-color: var(--rw);
    box-shadow: 0 0 0 4px rgba(217,119,6,.18);
    animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot {
    0%,100% { box-shadow: 0 0 0 4px rgba(217,119,6,.18); }
    50%      { box-shadow: 0 0 0 7px rgba(217,119,6,.08); }
}
.raihan-tl-label {
    font-size: 10px;
    color: var(--rg);
    text-align: center;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.3;
}
.raihan-tl-step.done .raihan-tl-label   { color:var(--rs); font-weight:600; }
.raihan-tl-step.active .raihan-tl-label { color:var(--rw); font-weight:600; }

.raihan-tc-rejected-bar {
    width: 100%;
    text-align: center;
    background: #fee2e2;
    color: #991b1b;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* ── NO RESULT ── */
.raihan-no-result-card {
    background: #fff;
    border-radius: var(--r);
    text-align: center;
    padding: 44px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--rb);
}
.raihan-no-result-icon        { font-size: 56px; margin-bottom: 14px; }
.raihan-no-result-card h3     { font-size: 17px; color:#374151; margin:0 0 8px; }
.raihan-no-result-card p      { color:var(--rg); margin:0 0 4px; font-size:14px; word-break:break-all; }
.raihan-no-result-sub         { font-size:13px; color:#9ca3af; }

/* ── INLINE RESULT (Thank You inline check) ── */
.raihan-inline-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.raihan-inline-result-item {
    background: #f8fafc;
    border: 1px solid var(--rb);
    border-radius: 10px;
    padding: 11px 13px;
    animation: slideUp .3s ease;
}
.raihan-inline-result-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    flex-wrap: wrap;
    gap: 6px;
}
.raihan-inline-result-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #374151;
}

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════ */

/* ── Tablet (≤768px) ── */
@media (max-width: 768px) {
    .raihan-appt-wrap,
    .raihan-tracking-wrap   { padding: 0 12px; margin: 18px auto; }
    .raihan-ty-grid         { grid-template-columns: 1fr; gap: 14px; }
    .raihan-status-check-box { order: -1; }
}

/* ── Mobile (≤480px) ── */
@media (max-width: 480px) {
    /* Wrap */
    .raihan-appt-wrap,
    .raihan-tracking-wrap   { padding: 0 10px; margin: 12px auto; }

    /* Header */
    .raihan-appt-header     { padding: 26px 14px 20px; }
    .raihan-appt-header-icon{ font-size: 40px; }
    .raihan-appt-title      { font-size: 19px !important; }
    .raihan-appt-subtitle   { font-size: 12px !important; }

    /* Form */
    .raihan-appt-form       { padding: 16px 14px; }
    .raihan-form-group      { margin-bottom: 14px; }

    /* Success banner */
    .raihan-success-banner  { padding: 22px 14px 18px; border-radius: 12px; }
    .raihan-success-title   { font-size: 20px !important; }
    .raihan-success-sub     { font-size: 12px !important; }
    .raihan-check-circle,
    .raihan-check-svg       { width: 56px; height: 56px; }

    /* ID Hero */
    .raihan-appt-id-hero    { flex-direction: column; align-items: flex-start; gap: 5px; padding: 12px 14px; }
    .raihan-id-value        { font-size: 14px; padding: 4px 10px; }

    /* Detail items */
    .raihan-detail-item     { padding: 10px 14px; gap: 9px; }
    .raihan-detail-item-value { font-size: 13px; }

    /* Status check box */
    .raihan-status-check-inner { padding: 18px 14px; }
    .raihan-scb-title       { font-size: 15px !important; }

    /* Tracking */
    .raihan-tracking-form   { padding: 14px 14px 18px; }
    .raihan-tracking-header-info { flex-direction: column; align-items: flex-start; }
    .raihan-tc-top          { padding: 10px 13px; }
    .raihan-tc-body         { padding: 12px 13px; }
    .raihan-tc-row          { grid-template-columns: 1fr; gap: 10px; }
    .raihan-tc-value        { font-size: 13px; }
    .raihan-tc-timeline     { padding: 12px 13px 10px; }
    .raihan-tl-step         { min-width: 60px; }
    .raihan-tl-label        { font-size: 9px; }

    /* Buttons */
    .raihan-btn             { font-size: 14px; padding: 12px 18px; }

    /* Strip */
    .raihan-card-header-strip { padding: 11px 14px; }
    .raihan-strip-title       { font-size: 13px; }
    .raihan-slip-footer       { padding: 10px 14px; }

    /* No result */
    .raihan-no-result-card  { padding: 32px 16px; }
    .raihan-no-result-icon  { font-size: 44px; }
}

/* ── Very small (≤360px) ── */
@media (max-width: 360px) {
    .raihan-appt-wrap,
    .raihan-tracking-wrap   { padding: 0 8px; }
    .raihan-appt-title      { font-size: 17px !important; }
    .raihan-id-value        { font-size: 13px; letter-spacing: 0; }
    .raihan-tl-step         { min-width: 52px; }
}

/* ── Large desktop (≥1024px) ── */
@media (min-width: 1024px) {
    .raihan-appt-title  { font-size: 26px !important; }
    .raihan-ty-grid     { grid-template-columns: 1fr 340px; }
}
