/**
 * ============================================
 * File: assets/css/style.css
 * RAMA - Research and Abdimas Management Al Insyirah
 * Main Stylesheet
 * Bagian 1/3 - Base & Navbar
 * ============================================
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Green */
    --primary: #1a5f2a;
    --primary-dark: #0d4a1c;
    --primary-light: #2d8a42;
    --primary-lighter: #e8f5e9;
    
    /* Secondary Colors - Gold */
    --gold: #d4a017;
    --gold-dark: #b8860b;
    --gold-light: #f4d03f;
    --gold-lighter: #fef9e7;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-rama {
background:
        linear-gradient(
            135deg,
            rgba(15, 107, 63, 0.88),
            rgba(11, 81, 48, 0.88)
        ),
        url("../img/bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 3px solid var(--gold);
}

.navbar-rama .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--white) !important;
    transition: var(--transition);
}

.navbar-rama .navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-rama .navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-rama .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-rama .brand-text .main-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.navbar-rama .brand-text .sub-title {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.3px;
}

.navbar-rama .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 1.25rem 1rem !important;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.navbar-rama .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

.navbar-rama .nav-link:hover,
.navbar-rama .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
}

.navbar-rama .nav-link:hover::after,
.navbar-rama .nav-link.active::after {
    width: 70%;
}

.navbar-rama .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    margin-top: 0;
    min-width: 220px;
    animation: dropdownFade 0.2s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-rama .dropdown-item {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: var(--transition);
}

.navbar-rama .dropdown-item:hover {
    background: var(--primary-lighter);
    color: var(--primary);
    transform: translateX(5px);
}

.navbar-rama .dropdown-item i {
    width: 20px;
    color: var(--primary);
}

.navbar-rama .dropdown-header {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

/* User Dropdown */
.navbar-rama .user-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem 0.5rem 0.5rem !important;
    margin-left: 0.5rem;
}

.navbar-rama .user-dropdown .nav-link::after {
    display: none;
}

.navbar-rama .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.navbar-rama .user-name {
    font-size: 0.875rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Navbar Toggler Mobile */
.navbar-rama .navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}

.navbar-rama .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-rama .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content-wrapper {
    min-height: calc(100vh - 130px);
    padding-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-rama {
    background: var(--white);
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-600);
}
/**
 * ============================================
 * File: assets/css/style.css (LANJUTAN)
 * RAMA - Research and Abdimas Management Al Insyirah
 * Main Stylesheet
 * Bagian 2/3 - Cards, Tables, Forms
 * Tambahkan setelah bagian 1
 * ============================================
 */

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-200);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.page-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb-rama {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb-rama .breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-rama .breadcrumb-item.active {
    color: var(--gray-500);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-header.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-bottom: none;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    padding: 1rem 1.25rem;
}

/* Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    color: var(--white);
    padding: 1.5rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-card .stat-icon {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 5rem;
    opacity: 0.15;
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.stat-card.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stat-card.bg-gradient-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.stat-card.bg-gradient-warning {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.stat-card.bg-gradient-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.stat-card.bg-gradient-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Info Card */
.info-card {
    border-left: 4px solid var(--primary);
}

.info-card.warning {
    border-left-color: var(--gold);
}

.info-card.success {
    border-left-color: var(--success);
}

.info-card.danger {
    border-left-color: var(--danger);
}

/* ============================================
   TABLES
   ============================================ */
.table-rama {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.table-rama thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.875rem 1rem;
    border: none;
    white-space: nowrap;
    vertical-align: middle;
}

.table-rama tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.table-rama tbody tr:hover {
    background: var(--primary-lighter);
}

.table-rama tbody tr:last-child td {
    border-bottom: none;
}

.table-rama .table-actions {
    white-space: nowrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: var(--gray-900);
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--gray-900);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 30px;
    height: 30px;
}

/* ============================================
   FORMS
   ============================================ */
.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}

.form-label .required {
    color: var(--danger);
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.6rem 0.875rem;
    font-size: 0.9rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 42, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control:disabled,
.form-select:disabled,
.form-control[readonly] {
    background-color: var(--gray-100);
}

.form-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.input-group-text {
    background: var(--primary-lighter);
    border: 2px solid var(--gray-200);
    color: var(--primary);
    font-size: 0.9rem;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: none;
}

/* Form Section Card */
.form-section {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.form-section-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--gold-lighter) 100%);
    border-bottom: 2px solid var(--gold);
}

.form-section-header h5 {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
}

.form-section-header h5 i {
    margin-right: 0.5rem;
    color: var(--gold-dark);
}

.form-section-body {
    padding: 1.25rem;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--gray-50);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: var(--primary-lighter);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-wrapper .upload-icon {
    font-size: 2.5rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.file-upload-wrapper .upload-text {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-upload-wrapper .upload-hint {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.file-upload-wrapper.has-file {
    border-color: var(--success);
    background: #f0fdf4;
}

.file-upload-wrapper.has-file .upload-icon {
    color: var(--success);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    font-weight: 600;
    padding: 0.4em 0.75em;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.badge-draft {
    background: var(--gray-200);
    color: var(--gray-700);
}

.badge-terkirim {
    background: #dbeafe;
    color: #1e40af;
}

.badge-review {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-revisi {
    background: #fef3c7;
    color: #92400e;
}

.badge-disetujui {
    background: #d1fae5;
    color: #065f46;
}

.badge-ditolak {
    background: #fee2e2;
    color: #991b1b;
}

.badge-selesai {
    background: var(--primary-lighter);
    color: var(--primary-dark);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border-left: 4px solid var(--gold);
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Panduan Box */
.panduan-box {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, #e0f2fe 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 4px solid var(--primary);
    margin-bottom: 1.5rem;
}

.panduan-box h5 {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.panduan-box p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.panduan-box .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
/**
 * ============================================
 * File: assets/css/style.css (LANJUTAN)
 * RAMA - Research and Abdimas Management Al Insyirah
 * Main Stylesheet
 * Bagian 3/3 - Step Wizard, Profile, Utilities, Responsive
 * Tambahkan setelah bagian 2
 * ============================================
 */

/* ============================================
   STEP WIZARD
   ============================================ */
.step-wizard {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.step-item {
    display: flex;
    align-items: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--gray-200);
    margin: 0 0.75rem;
}

.step-item.completed:not(:last-child)::after {
    background: var(--primary);
}

.step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-500);
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
}

.step-item.active .step-circle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.2);
}

.step-item.completed .step-circle {
    background: var(--primary);
    color: var(--white);
}

.step-item.completed .step-circle::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.step-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
}

.step-item.active .step-label,
.step-item.completed .step-label {
    color: var(--primary);
}

/* ============================================
   PROFILE CARD
   ============================================ */
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--white);
    border-radius: 50% 50% 0 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.profile-name {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.profile-title {
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.profile-body {
    padding: 1.5rem;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.profile-stat {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    min-width: 100px;
    border: 1px solid var(--gray-200);
}

.profile-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.profile-stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Info Table */
.info-table {
    width: 100%;
}

.info-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    width: 35%;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
    vertical-align: top;
}

.info-table td {
    padding: 0.75rem 0;
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem;
background:
        linear-gradient(
            135deg,
            rgba(15, 107, 63, 0.88),
            rgba(11, 81, 48, 0.88)
        ),
        url("../img/bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--gold-lighter) 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--gold);
}

.login-header img {
    width: 100%;
    margin-bottom: 1rem;
}

.login-header h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.login-header p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.login-body {
    padding: 2rem;
}

.login-footer {
    padding: 1rem 2rem;
    background: var(--gray-50);
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   MODAL CUSTOM
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: 3px solid var(--gold);
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 600;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-primary {
    color: var(--primary) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-primary-lighter {
    background-color: var(--primary-lighter) !important;
}

.bg-gold-lighter {
    background-color: var(--gold-lighter) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fs-sm {
    font-size: 0.875rem !important;
}

.fs-xs {
    font-size: 0.75rem !important;
}

/* Loading Spinner */
.spinner-rama {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-overlay p {
    margin-top: 1rem;
    color: var(--gray-600);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider span {
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    body {
        padding-top: 65px;
    }
    
    .navbar-rama .brand-text .sub-title {
        display: none;
    }
    
    .navbar-rama .brand-text .main-title {
        font-size: 1.1rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .step-wizard {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-item {
        width: 100%;
    }
    
    .step-item:not(:last-child)::after {
        display: none;
    }
    
    .step-label {
        position: static;
        transform: none;
        margin-left: 1rem;
        margin-top: 0;
    }
    
    .step-item {
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .form-section-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .profile-stats {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .profile-stat {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .btn {
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-rama .navbar-brand img {
        height: 40px;
    }
    
    .navbar-rama .brand-text .main-title {
        font-size: 1rem;
    }
    
    .login-card {
        margin: 1rem;
    }
    
    .login-body {
        padding: 1.5rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar-rama,
    .footer-rama,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============================================
   FOOTER STYLES (Tambahan)
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    margin-top: auto;
}

.footer p {
    color: #fff;
}

.footer small {
    color: rgba(255, 255, 255, 0.7);
}

.footer a {
    color: var(--gold);
    text-decoration: none;
}

.footer a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Main Content - Ensure footer stays at bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* User Dropdown Enhancements */
.user-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-header {
    padding: 0.75rem 1rem;
    background-color: rgba(26, 95, 42, 0.05);
}

/* Info Table Enhancement */
.info-table {
    width: 100%;
    margin-bottom: 0;
}

.info-table tr {
    border-bottom: 1px solid var(--neutral-200);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table th {
    padding: 0.6rem 0.5rem;
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.875rem;
    vertical-align: top;
    width: 35%;
}

.info-table td {
    padding: 0.6rem 0.5rem;
    color: var(--neutral-800);
    font-size: 0.875rem;
    vertical-align: top;
}

/* Background Helpers */
.bg-primary-lighter {
    background-color: rgba(26, 95, 42, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(212, 160, 23, 0.15) !important;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.15) !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #fff;
}

/* Badge Outline */
.badge.bg-outline-primary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Table Actions Responsive */
.table-actions {
    white-space: nowrap;
}

.table-actions .btn {
    margin: 0 1px;
}

/* Responsive Navbar Brand */
@media (max-width: 575px) {
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .navbar-brand small {
        display: none;
    }
    
    .user-name {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .navbar-rama,
    .footer,
    .btn,
    .table-actions {
        display: none !important;
    }
    
    .main-content {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}