/* ============================================================================
   BethesdaKu — Registrasi CSS
   Registration wizard, stepper, status registrasi
   Variable global diambil dari style.css
   ============================================================================ */

/* --- Topbar --- */
.reg-topbar {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reg-topbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-topbar .brand img {
    width: 32px;
    height: 32px;
}

.reg-topbar .brand-text {
    font-size: 13px;
    font-weight: 700;
}

.reg-topbar .brand-text small {
    opacity: 0.6;
    font-size: 10px;
}

.reg-topbar nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.reg-topbar nav a:hover {
    color: white;
}

.reg-topbar nav .btn-aktivasi {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 20px;
}

.reg-topbar nav .btn-aktivasi:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* --- Layout --- */
.reg-layout {
    display: flex;
    flex: 1;
}

/* --- Sidebar --- */
.reg-sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid #E5E7EB;
    padding: 30px 24px;
    position: sticky;
    top: 0;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

.reg-sidebar h6 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.reg-sidebar .subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.reg-sidebar .desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* --- Vertical Stepper --- */
.v-stepper {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.v-stepper li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    position: relative;
}

.v-stepper li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 38px;
    bottom: -2px;
    width: 2px;
    background: #E5E7EB;
}

.v-stepper li.active:not(:last-child)::after {
    background: var(--primary);
}

.v-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    border: 2px solid #E5E7EB;
    background: white;
    color: #9CA3AF;
    z-index: 1;
}

.v-stepper li.active .v-step-num {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.v-stepper li.done .v-step-num {
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.v-stepper li.done .v-step-num::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.v-stepper li.done .v-step-num span {
    display: none;
}

.v-step-text {
    padding-top: 4px;
}

.v-step-text small {
    font-size: 14px;
    font-weight: 600;
    color: #9CA3AF;
}

.v-stepper li.active .v-step-text small {
    color: var(--primary);
}

.v-stepper li.done .v-step-text small {
    color: #10B981;
}

.v-step-desc {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 2px;
    line-height: 1.4;
}

/* --- Info Box (Sidebar) --- */
.info-box {
    background: #EFF6FF;
    border-left: 4px solid #3B82F6;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin-top: 20px;
}

.info-box h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.info-box ul {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
    padding-left: 16px;
}

.info-box ul li {
    margin-bottom: 3px;
}

.sidebar-help {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
}

.sidebar-help i {
    color: var(--primary);
}

/* --- Content --- */
.reg-content {
    flex: 1;
    padding: 30px 40px;
}

/* --- Horizontal Stepper --- */
.h-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.h-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #E5E7EB;
    background: white;
    color: #9CA3AF;
}

.h-step.active .h-step-num {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.h-step.done .h-step-num {
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.h-step-label {
    font-size: 12px;
    font-weight: 500;
    color: #9CA3AF;
}

.h-step.active .h-step-label {
    color: var(--primary);
    font-weight: 600;
}

.h-step.done .h-step-label {
    color: #10B981;
}

.h-step-line {
    flex: 1;
    height: 2px;
    background: #E5E7EB;
    margin: 0 8px;
}

.h-step-line.done {
    background: #10B981;
}

/* --- Nav Buttons --- */
.reg-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.btn-reg {
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-reg-next {
    background: var(--primary);
    color: white;
}

.btn-reg-next:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn-reg-back {
    background: white;
    color: var(--text-light);
    border: 1.5px solid #D1D5DB;
}

.btn-reg-back:hover {
    background: #F3F4F6;
}

.btn-reg-cancel {
    background: white;
    color: #DC2626;
    border: 1.5px solid #FCA5A5;
}

.btn-reg-submit {
    background: #10B981;
    color: white;
}

.btn-reg-submit:hover {
    background: #059669;
    color: white;
}

/* --- Footer --- */
.reg-footer {
    background: white;
    border-top: 1px solid #E5E7EB;
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: #9CA3AF;
}

.reg-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* --- STATUS REGISTRASI --- */

/* Topbar Status */
.status-topbar {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-topbar img {
    width: 32px;
    height: 32px;
}

.status-topbar .brand {
    font-size: 13px;
    font-weight: 700;
}

.status-topbar .sub {
    font-size: 10px;
    opacity: 0.6;
}

/* Content */
.status-content {
    width: min(100% - 32px, 600px);
    margin: 24px auto;
    padding: 0 0 20px;
}

/* Main Card */
.status-main-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Status Header */
.status-head {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid #F3F4F6;
}

.status-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 10px;
}

.status-icon.waiting {
    background: #FEF3C7;
    color: #D97706;
}

.status-icon.fix {
    background: #DBEAFE;
    color: #2563EB;
}

.status-icon.done {
    background: #D1FAE5;
    color: #059669;
}

.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.badge-waiting {
    background: #FEF3C7;
    color: #92400E;
}

.badge-fix {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-done {
    background: #D1FAE5;
    color: #065F46;
}

/* Status Body */
.status-body {
    padding: 14px 18px;
}

.status-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: center;
}

.status-message strong {
    color: var(--text);
    font-weight: 600;
}

/* Admin Note */
.admin-note {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.admin-note-title {
    font-size: 12px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-note-text {
    font-size: 12px;
    color: #78350F;
    line-height: 1.5;
}

/* Summary */
.summary {
    background: #F9FAFB;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.summary-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.summary-title i {
    color: var(--primary);
    font-size: 12px;
}

.summary-row {
    display: flex;
    padding: 3px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 13px;
}

.summary-row:last-child {
    border: none;
}

.summary-label {
    width: 110px;
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.summary-value {
    color: var(--text);
    font-weight: 600;
}

/* Buttons Status */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.2);
}

.btn-outline-custom {
    background: white;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    background: #EFF6FF;
    color: var(--primary);
}

.btn-area {
    padding: 10px 18px;
    border-top: 1px solid #F3F4F6;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.status-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    padding: 16px;
}

.not-found {
    text-align: center;
    padding: 60px 20px;
}

.not-found i {
    font-size: 48px;
    color: #D1D5DB;
    margin-bottom: 16px;
}

.not-found h5 {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 16px;
}

.not-found p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .reg-layout {
        flex-direction: column;
    }

    body {
        overflow: auto;
    }

    .reg-sidebar {
        display: none;
    }

    .reg-content {
        padding: 20px;
    }
}
