/* ============================================================
   Kalkulator Kenaikan Pangkat & Jabatan Akademik Dosen
   Design System — Minimalis, Elegant, Modern
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors — Dark Navy Theme */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1629;
    --bg-tertiary: #151d33;
    --bg-card: rgba(22, 33, 62, 0.6);
    --bg-card-hover: rgba(30, 45, 80, 0.7);
    --bg-input: rgba(15, 22, 41, 0.8);
    
    --border-subtle: rgba(99, 117, 171, 0.15);
    --border-medium: rgba(99, 117, 171, 0.25);
    --border-focus: rgba(129, 140, 248, 0.5);
    
    --text-primary: #e8ecf4;
    --text-secondary: #94a3c4;
    --text-muted: #6b7a9e;
    --text-accent: #a5b4fc;
    
    /* Accent Gradient — Indigo to Violet */
    --accent-start: #6366f1;
    --accent-end: #a855f7;
    --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --accent-gradient-h: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    
    /* Status Colors */
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.1);
    --success-border: rgba(52, 211, 153, 0.3);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.1);
    --danger-border: rgba(248, 113, 113, 0.3);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.1);
    --warning-border: rgba(251, 191, 36, 0.3);
    --info: #60a5fa;
    --info-bg: rgba(96, 165, 250, 0.1);
    --info-border: rgba(96, 165, 250, 0.3);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    
    /* Transition */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------- Background Decoration ---------- */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-1%, 1%) rotate(0.5deg); }
    66% { transform: translate(1%, -0.5%) rotate(-0.3deg); }
}

/* ---------- Layout ---------- */
.app-container {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    min-height: 100vh;
}

/* ---------- Header ---------- */
.app-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding-top: var(--space-xl);
}

.app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.app-logo svg {
    width: 28px;
    height: 28px;
    color: white;
}

.app-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--accent-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.app-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5;
}

.app-regulation {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding: 6px 14px;
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--info);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ---------- Progress Bar ---------- */
.progress-container {
    margin-bottom: var(--space-2xl);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 var(--space-sm);
}

.progress-line {
    position: absolute;
    top: 18px;
    left: 36px;
    right: 36px;
    height: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.progress-line-fill {
    position: absolute;
    top: 18px;
    left: 36px;
    height: 2px;
    background: var(--accent-gradient-h);
    z-index: 1;
    transition: width var(--transition-slow);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
}

.progress-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.progress-step.active .progress-step-dot {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-dot {
    background: var(--success);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

.progress-step-label {
    margin-top: var(--space-sm);
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: color var(--transition-base);
}

.progress-step.active .progress-step-label {
    color: var(--text-accent);
}

.progress-step.completed .progress-step-label {
    color: var(--success);
}

/* ---------- Card / Glass Panel ---------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: var(--border-medium);
}

/* ---------- Step Container ---------- */
.wizard-steps {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.wizard-step {
    display: none;
    animation: fadeSlideIn var(--transition-slow) ease forwards;
}

.wizard-step.active {
    display: block;
}

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

/* ---------- Step Header ---------- */
.step-header {
    margin-bottom: var(--space-xl);
}

.step-number {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.step-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* ---------- Form Elements ---------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.01em;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all var(--transition-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(15, 22, 41, 1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 42px;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-md);
}

/* ---------- Toggle / Switch ---------- */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.toggle-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.toggle-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
}

.toggle-item.checked {
    background: var(--success-bg);
    border-color: var(--success-border);
}

.toggle-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    margin-top: 2px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border-subtle);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    cursor: pointer;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--success);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.toggle-content {
    flex: 1;
}

.toggle-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.toggle-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Dynamic Year Rows ---------- */
.year-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.year-row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: var(--space-md);
    align-items: end;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.year-row:hover {
    border-color: var(--border-medium);
}

.year-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-accent);
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
}

.year-row .form-group {
    margin-bottom: 0;
}

.year-row .form-label {
    font-size: 0.72rem;
    margin-bottom: 4px;
}

.year-row .form-input,
.year-row .form-select {
    padding: 10px 12px;
    font-size: 0.85rem;
}

.year-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-icon {
    padding: 10px;
    border-radius: var(--radius-sm);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    box-shadow: 0 2px 10px rgba(52, 211, 153, 0.3);
}

.btn-success:hover {
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.4);
    transform: translateY(-1px);
}

.btn-danger-outline {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger-border);
}

.btn-danger-outline:hover {
    background: var(--danger-bg);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.step-actions-right {
    display: flex;
    gap: var(--space-sm);
}

/* ---------- Loading Spinner ---------- */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ---------- Results / Output ---------- */
.result-status {
    text-align: center;
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    animation: resultPop 0.5s ease;
}

@keyframes resultPop {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.result-status.eligible {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
}

.result-status.not-eligible {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.eligible .result-badge {
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
}

.not-eligible .result-badge {
    background: linear-gradient(135deg, #dc2626, #f87171);
    color: white;
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
}

.result-badge svg {
    width: 22px;
    height: 22px;
}

.result-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* ---------- Result Sections ---------- */
.result-section {
    margin-bottom: var(--space-xl);
}

.result-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.result-section-title svg {
    width: 18px;
    height: 18px;
    color: var(--text-accent);
}

/* AK Progress Bar */
.ak-progress-container {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.ak-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-md);
}

.ak-progress-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.ak-progress-target {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.ak-progress-bar {
    height: 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.ak-progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ak-progress-fill.success {
    background: linear-gradient(90deg, #059669, #34d399);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

.ak-progress-fill.danger {
    background: linear-gradient(90deg, #dc2626, #f87171);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
}

.ak-progress-fill.warning {
    background: linear-gradient(90deg, #d97706, #fbbf24);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.ak-progress-percent {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
    text-align: right;
}

/* Breakdown Table */
.breakdown-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.breakdown-table th,
.breakdown-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.84rem;
}

.breakdown-table th {
    background: var(--bg-input);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-subtle);
}

.breakdown-table td {
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.breakdown-table tr:last-child td {
    border-bottom: none;
    font-weight: 700;
    background: rgba(99, 102, 241, 0.05);
}

.breakdown-table .text-right {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Checklist Results */
.checklist-results {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.checklist-item.passed {
    border-left: 3px solid var(--success);
}

.checklist-item.failed {
    border-left: 3px solid var(--danger);
}

.checklist-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.checklist-item.passed .checklist-icon {
    background: var(--success-bg);
    color: var(--success);
}

.checklist-item.failed .checklist-icon {
    background: var(--danger-bg);
    color: var(--danger);
}

.checklist-icon svg {
    width: 14px;
    height: 14px;
}

.checklist-text {
    flex: 1;
}

.checklist-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checklist-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Proporsi Gauge */
.proporsi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.proporsi-card {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.proporsi-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.proporsi-value.success { color: var(--success); }
.proporsi-value.danger { color: var(--danger); }
.proporsi-value.warning { color: var(--warning); }

.proporsi-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Issues List */
.issues-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.issue-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 10px 14px;
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--danger);
    line-height: 1.5;
}

.issue-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

/* ---------- Syarat Profesor Section ---------- */
.profesor-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.profesor-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 4px 12px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--warning);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* ---------- Info Box ---------- */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.info-box svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--info);
    margin-top: 2px;
}

.info-box p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.section-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* ---------- Footer ---------- */
.app-footer {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.app-footer a {
    color: var(--text-accent);
    text-decoration: none;
}

/* ---------- Publication Checklist in Step 4 ---------- */
.pub-option-group {
    margin-bottom: var(--space-lg);
}

.pub-option-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-accent);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--border-subtle);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .app-container {
        padding: var(--space-md);
    }
    
    .glass-card {
        padding: var(--space-lg);
    }
    
    .app-title {
        font-size: 1.35rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .year-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .year-badge {
        height: auto;
        padding: var(--space-sm);
    }
    
    .progress-step-label {
        display: none;
    }
    
    .proporsi-container {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column-reverse;
        gap: var(--space-md);
    }
    
    .step-actions .btn {
        width: 100%;
    }
    
    .step-actions-right {
        width: 100%;
        flex-direction: column;
    }
    
    .result-section-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .progress-steps {
        padding: 0;
    }
    
    .progress-line {
        left: 18px;
        right: 18px;
    }
    
    .progress-line-fill {
        left: 18px;
    }
    
    .progress-step-dot {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
}

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--text-accent); }
.font-bold { font-weight: 700; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
