/*=====================================================
    KOPOSTRA MOBILE V2
    Design System (Cleaned & Optimized)
======================================================*/

/*=====================================================
    01. ROOT & VARIABLES
======================================================*/
:root {
    /* BRAND */
    --primary: #157347;
    --primary-dark: #0F5D37;
    --primary-light: #198754;
    --primary-soft: #EAF7F0;

    /* BACKGROUND */
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --white: #FFFFFF;

    /* TEXT */
    --text: #212529;
    --text-light: #666666;
    --text-soft: #999999;

    /* BORDER */
    --border: #ECECEC;

    /* BORDER RADIUS */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-round: 50%;

    /* SHADOW */
    --shadow: 0 6px 18px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 28px rgba(0,0,0,.12);

    /* ANIMATION */
    --transition: .25s ease;
}

/*=====================================================
    02. RESET & BASE
======================================================*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: #fff;
    /* Menambahkan Plus Jakarta Sans sesuai permintaan sebelumnya */
    font-family: 'Plus Jakarta Sans', "Segoe UI", sans-serif; 
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; outline: none; cursor: pointer; }

/*=====================================================
    03. MOBILE FRAME & LAYOUT (KRITIS)
======================================================*/
.mobile-container {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 100vh;
    margin: 20px auto;
    background: var(--white);
    border-radius: var(--radius-xl);

    overflow: visible;

    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}


.page-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;

    padding-bottom: 80px;

    -webkit-overflow-scrolling: touch;
}

.bottom-nav {
    margin-top: auto; 
    flex-shrink: 0;
    height: 68px;
    background: #FFF;
    border-top: 1px solid var(--border);
    z-index: 99;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    
    /* ✅ TAMBAHKAN INI */
    max-width: 400px; /* Atau ukuran yang Anda mau */
    margin-left: auto;
    margin-right: auto;
}

/*=====================================================
    04. TYPOGRAPHY & UTILITIES
======================================================*/
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
small { color: var(--text-light); }

.text-muted { color: var(--text-light) !important; }
.fw-semibold { font-weight: 600 !important; color: var(--primary); }


/*=====================================================
    05. DASHBOARD HEADER V3
======================================================*/

.dashboard-header{
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--primary-dark);

    padding: 12px 18px;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);

    border-radius: 22px;
}

/* Baris Header */
.dashboard-top{
    display:flex;
    align-items:center;
    gap:12px;
}

.dashboard-search{
    flex:1;
    min-width:0;      /* <-- sangat penting */
}

.search-form{

    display:flex;
    align-items:center;

    width:100%;
    height:44px;

    background:#fff;

    border-radius:14px;

    padding:0 14px;

    border-radius: 22px;
}

.search-icon{

    font-size:20px;
    color:#999;

    margin-right:8px;
}

.search-input{

    flex:1;

    border:none;
    
    outline:none;

    background:none;

    font-size:14px;

    color:var(--text);

    min-width:0;

}


.search-input::placeholder{

    color:#999;
}

/* Tombol kanan */

.header-right{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;    /* jangan ikut mengecil */
}

.header-btn{

    width:42px;
    height:42px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;
    justify-content:center;

    box-shadow:0 2px 6px rgba(0,0,0,.08);

    transition:
        transform .2s ease,
        background .2s ease;
}

.header-btn:active{

    transform:scale(.95);
}

.header-btn .material-icons{

    color:var(--primary-dark);

    font-size:22px;
}


/*=====================================================
    06. MEMBER CARD
======================================================*/

.member-card{

    margin:16px 18px;

    padding:18px;

    background:#fff;

    border-radius:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 4px 14px rgba(0,0,0,.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.member-card:active{

    transform:scale(.98);
}

.member-left small{

    display:block;

    color:#888;

    font-size:12px;

    margin-bottom:4px;
}

.member-left h3{

    margin:0;

    font-size:18px;

    font-weight:700;

    color:var(--text);
}

.member-number{

    display:inline-block;

    margin-top:8px;

    padding:5px 12px;

    border-radius:20px;

    background:var(--primary-soft);

    color:var(--primary-dark);

    font-size:12px;

    font-weight:600;
}

.member-avatar{

    width:68px;
    height:68px;

    border-radius:50%;

    overflow:hidden;

    flex-shrink:0;

    background:#F3F4F6;

    display:flex;
    align-items:center;
    justify-content:center;

    border:3px solid rgba(255,255,255,.9);

    box-shadow:
        0 6px 18px rgba(0,0,0,.10);
}

.avatar-icon{

    font-size:54px;

    color:#198754;
}


.member-status{

    display:inline-flex;
    align-items:center;
    gap:6px;

    margin-top:12px;

    padding:6px 12px;

    border-radius:999px;

    background:#EAF7F0;

    color:#198754;

    font-size:12px;

    font-weight:600;
}

.status-dot{

    width:8px;
    height:8px;

    border-radius:50%;

    background:#22C55E;
}

/*=====================================================
    07. BANNER
======================================================*/

.banner-wrapper{
    margin:0 18px 18px;
}

.banner-section{
    margin:0 18px 24px;
}

.banner{
    border-radius:15px;
    overflow:hidden;
    background:transparent;
    box-shadow:none;
    border:none;
}

.banner-image{
    width:100%;
    display:block;
    border-radius:18px;
}

.banner-carousel img{

    width:100%;

    aspect-ratio:16/7;

    object-fit:cover;

    display:block;
}

.carousel-indicators{

    margin:12px 0 0;

    gap:6px;
}

.carousel-indicators button{

    width:8px !important;

    height:8px !important;

    border-radius:50%;

    background:#cfd4da !important;

    border:none !important;

    opacity:1;
}

.carousel-indicators .active{

    width:24px !important;

    border-radius:20px;

    background:var(--primary) !important;
}



/*=====================================================
    08. SUMMARY
======================================================*/

.summary-section{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin:0 18px 20px;
}

.profile-hero{

    background: linear-gradient(135deg,#198754,#28a745);

    border-radius:15px;

    padding:24px 20px;

    margin-bottom:20px;

}

.summary-icon{

    width:46px;

    height:46px;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:0 auto 10px;
}

.summary-icon .material-icons{

    font-size:24px;
}

.bg-success-soft{

    background:#EAF7F0;

    color:#157347;
}

.bg-warning-soft{

    background:#FFF6E5;

    color:#D97706;
}

.bg-danger-soft{

    background:#FDECEC;

    color:#DC3545;
}

.summary-label{

    font-size:12px;

    color:#888;

    margin-bottom:6px;

    text-align:  center;
}

.summary-value{

    font-size:14px;

    font-weight:700;

    color:#222;

    text-align:  center;
}

/*=====================================================
    09. QUICK MENU V3
======================================================*/

.quick-menu{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;

    margin:0 18px 24px;
}

.quick-menu a{

    display:flex;
    flex-direction:column;
    align-items:center;

    text-decoration:none;

    transition:.2s ease;
}

.quick-menu a:active{

    transform:scale(.95);
}

.quick-icon{

    width:64px;
    height:64px;

    border-radius:10px;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:10px;

    box-shadow:0 4px 14px rgba(0,0,0,.06);
}

.quick-icon svg,
.quick-icon img{

    width:30px;
    height:30px;
}

.quick-title{

    font-size:12px;
    
    font-weight:400;

    color:var(--text);

    text-align:center;

    line-height:1.35;
}

/* Warna */

.quick-icon.green{

    background:#EAF7F0;
    color:#157347;
}

.quick-icon.blue{

    background:#EAF3FF;
    color:#2563EB;
}

.quick-icon.orange{

    background:#FFF4E5;
    color:#EA580C;
}

.quick-icon.red{

    background:#FDECEC;
    color:#DC3545;
}

.quick-menu a:hover .quick-icon{

    transform:translateY(-2px);
    transition:.2s;
}


/*=====================================================
    10. PINJAMAN AKTIF
======================================================*/

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:24px 18px 16px;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:24px 18px 16px;
}

.section-title{
    font-size:18px;
    font-weight:700;
    color:#1F2937;
    margin:24px 18px 16px;
    letter-spacing:-0.3px;
}

.section-link{
    font-size:13px;
    color:#16a34a;
    text-decoration:none;
    font-weight:600;
}

.announcement-card{
    background:#fff;
    border-radius:15px;
    padding:18px;
    margin:0 18px 14px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.announcement-title{
    font-size:15px;
    font-weight:700;
    margin-bottom:8px;
}

.announcement-date{
    color:#6b7280;
    font-size:13px;
    margin-bottom:10px;
}

/*=====================================================
    SECTION HEADER - DEKATKAN KE LOAN CARD
======================================================*/
.section-header-loan {
    padding: 0 18px;
    margin-bottom: 0px; /* Kurangi dari default (biasanya 16-20px) */
}

.section-title-loan {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5; 
    margin:24px 18px 16px;
}

.section-title-riwayat {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5; 
    margin:30px 24px 16px;
}

/*=====================================================
    LOAN CARD - SESUAIKAN POSISI
======================================================*/
.loan-card, .summary-card.mb-3 {
    position: relative;
    overflow: hidden;
    background: #f0fdf4; /* ✅ HIJAU SANGAT MUDA (Rekomendasi) */
    border-radius: 15px;
    padding: 22px;   
    margin: 0 18px 28px; 
    box-shadow: 2 8px 24px rgba(7, 23, 7, 0.06);
    
    /* ✅ GARIS HIJAU */
    border: 1px solid #0e3515;
}

.loan-bg{
    position:absolute;
    top:-60px;
    right:-60px;
    width:180px;
    height:180px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(22,163,74,.10) 0%,
        rgba(22,163,74,0) 75%
    );
    pointer-events:none;
}

.loan-hero{

    background:linear-gradient(135deg,#198754,#22C55E);

    color:#fff;

    border-radius:22px;

    padding:16px 18px;

    box-shadow:0 8px 18px rgba(25,135,84,.18);

    margin-bottom:20px;

    margin-top:8px;

}

.loan-title{

    display:flex;
    align-items:center;
    gap:5px;
    font-size:15px;
    font-weight:600;

    color:#374151;


}

.loan-title i{

    color:#157347;
    font-size:20px;
}

.loan-status{

    background:#EAF7F0;
    color:#157347;

    padding:6px 14px;

    border-radius:999px;

    font-size:12px;
    font-weight:700;
}

.loan-amount{

    position:relative;
    z-index:2;

    font-size:30px;
    font-weight:700;

    color:#111827;

    line-height:1;

    margin-bottom:26px;
}

.loan-footer{

    position:relative;
    z-index:2;

    display:flex;

    justify-content:space-between;

    align-items:flex-end;
}

.loan-date label{

    display:block;

    font-size:13px;

    color:#6B7280;

    margin-bottom:4px;
}

.loan-date strong{

    font-size:15px;

    color:#111827;
}

.loan-detail{

    display:flex;
    align-items:center;
    gap:4px;

    color:#157347;

    text-decoration:none;

    font-weight:600;

    transition:.2s;
}

.loan-detail:hover{

    gap:8px;

    color:#0f5132;
}


/*=====================================================
    09. CARDS & HISTORY
======================================================*/
.info-card { margin: 18px; padding: 20px; background: #FFF; border-radius: 22px; box-shadow: var(--shadow); }
.info-card.warning { background: #FFF8E6; border: 1px solid #FFE08A; color: #8A6D00; }
.info-card h4 { margin-bottom: 14px; color: var(--primary); font-size: 17px; }
.info-card ul { margin: 0; padding-left: 18px; }
.info-card li { margin-bottom: 10px; line-height: 20px; color: var(--text); }
.info-card p { margin: 0; line-height: 20px; }

.history-card { background: #FFF; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; margin: 12px 18px; }
.history-title { font-size: 14px; font-weight: 600; }
.history-date { font-size: 12px; color: #888; margin-top: 3px; }
.history-value { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--primary); }

.card-mobile { background: #FFF; border-radius: 22px; box-shadow: var(--shadow); padding: 20px; margin: 18px; }
.card-kopostra { background: #fff; border-radius: 20px; border: none; box-shadow: var(--shadow); }
.card-mobile-title { font-size: 20px; font-weight: 600; margin-bottom: 14px; color: var(--primary); text-transform: uppercase; }
.card-mobile-value { font-size: 28px; font-weight: 700; color: var(--primary); }

/*=====================================================
    10. BUTTONS & BADGES
======================================================*/

/* === BASE BUTTON === */
.btn-kopostra,
.btn-kopostra-outline {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: .25s;
    margin: 10px auto !important;
    cursor: pointer;
    box-sizing: border-box;
}

/* === BUTTON PRIMARY (Filled) - TOMBOL SIMPAN === */
.btn-kopostra {
    /* ✅ DEFAULT: Gradient Hijau (Sama dengan Top Header) */
    background: linear-gradient(135deg, #198754 0%, #28a745 55%, #34c759 100%) !important;
    color: #FFFFFF;
    border: none !important;
}

/* ✅ HOVER & FOCUS: Sedikit lebih gelap + shadow agar ada efek interaktif */
.btn-kopostra:hover, 
.btn-kopostra:focus { 
    background: linear-gradient(135deg, #157347 0%, #218838 55%, #2db84d 100%) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* ✅ ACTIVE: Saat diklik */
.btn-kopostra:active {
    transform: scale(0.98);
    box-shadow: none;
}

/* === BUTTON OUTLINE === */
.btn-kopostra-outline { 
    display: block; 
    width: 100%; 
    padding: 12px; 
    border-radius: 12px; 
    
    /* ✅ DEFAULT: Gradient Hijau */
    background: linear-gradient(135deg, #198754 0%, #28a745 55%, #34c759 100%);
    border: 2px solid transparent;
    color: #ffffff;
    
    text-align: center; 
    font-weight: 600; 
    text-decoration: none; 
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ✅ HOVER: Berubah jadi Outline */
.btn-kopostra-outline:hover {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* ✅ ACTIVE: Saat diklik */
.btn-kopostra-outline:active {
    background: #e8f5e9;
    border: 2px solid var(--primary);
    color: var(--primary);
    transform: scale(0.98);
}

.btn-kopostra.w-100 { 
    width: 100% !important; 
}

/* === BUTTON DANGER === */
.btn.btn-danger { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    height: 44px; 
    background: red; 
    color: #fff; 
    border: none; 
    border-radius: 14px; 
    font-size: 14px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: .25s; 
    margin-top: 10px; 
    margin-bottom: 10px; 
}

/* === BOOTSTRAP PRIMARY OVERRIDE === */
.btn-primary { 
    --bs-btn-color: #fff; 
    --bs-btn-bg: var(--primary); 
    --bs-btn-border-color: var(--primary); 
    --bs-btn-hover-color: #fff; 
    --bs-btn-hover-bg: var(--primary); 
    --bs-btn-hover-border-color: var(--primary); 
}

/* === BADGES === */
.badge-success, 
.badge-danger { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 6px 12px; 
    border-radius: 18px; 
    font-size: 11px; 
    font-weight: 600; 
}

.badge-success { 
    background: var(--primary-soft); 
    color: var(--primary); 
}

.badge-danger { 
    background: #FDECEC; 
    color: #C62828; 
}

.badge-status { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 2px 10px; 
    font-size: 11px; 
    font-weight: 600; 
    line-height: 1.2; 
    border-radius: 6px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    text-align: center; 
}

/*=====================================================
    11. FORMS & INPUTS
======================================================*/
.form-group { margin-bottom: 18px; }
.form-group label, .form-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .2px; }
.form-control, .form-select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #198754; border-radius: 10px; background: #FFF; color: var(--text); font-size: 14px; transition: .2s; box-shadow: none; }
textarea.form-control { min-height: 90px; padding: 12px 14px; resize: none; }
.form-control:focus, .form-select:focus { border-color: var(--primary) !important; box-shadow: none !important; outline: none; }
.form-control.mb-2 { height: 46px; }

select, select.form-select, select.form-control { height: 45px !important; min-height: 45px !important; padding: 8px 12px !important; font-size: 14px !important; line-height: 1.5 !important; }
select option { padding: 10px !important; font-size: 14px !important; }

.password-box { position: relative; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer !important; z-index: 10 !important; pointer-events: auto !important; user-select: none; }

/*=====================================================
    12. LIST MENU & PROFILE
======================================================*/
.list-menu { margin: 18px; background: #FFF; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.list-menu a { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.list-menu a:last-child { border-bottom: none; }
.list-menu-left { display: flex; align-items: center; gap: 12px; }
.list-menu .material-icons { color: var(--primary); }

.profile-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-soft); background: #FFF; }
.profile-default-icon { font-size: 96px; color: var(--primary); background: var(--primary-soft); border-radius: 50%; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.profile-title { margin-left: 10px; font-size: 18px; color: var(--primary); }
.profile-item { padding: 14px 0; border-bottom: 1px solid #ECECEC; }
.profile-item:last-child { border-bottom: none; }
.profile-item small { display: block; color: #8A8A8A; font-size: 12px; margin-bottom: 4px; margin-left: 10px; }
.profile-item strong { display: block; color: #222; font-size: 15px; font-weight: 600; margin-left: 10px; }

.setting-item { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: inherit; padding: 16px; transition: background-color 0.2s; }
.setting-item:hover { background-color: #f8f9fa; }
.setting-text { display: flex; flex-direction: column; }
.setting-text strong { font-size: 15px; color: #212529; }
.setting-text small { font-size: 13px; color: #6c757d; margin-top: 2px; }

/*=====================================================
    13. RADIO, UPLOAD & PROGRESS
======================================================*/
.radio-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #F8F9FA; border: 2px solid #E9ECEF; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; -webkit-tap-highlight-color: transparent; }
.radio-item:hover { border-color: var(--primary); background: rgba(21, 115, 71, 0.05); }
.radio-item:has(input[type="radio"]:checked) { border-color: var(--primary); background: rgba(21, 115, 71, 0.08); }
.radio-item input[type="radio"]:checked ~ span { color: var(--primary); font-weight: 600; }
.radio-item span { font-size: 14px; color: #333; font-weight: 500; flex: 1; }
.radio-item input[type="radio"] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #CCC; border-radius: 50%; cursor: pointer; position: relative; transition: all 0.2s ease; flex-shrink: 0; }
.radio-item input[type="radio"]:checked { border-color: var(--primary); border-width: 6px; }
.radio-item.mt-3 { margin-top: 12px; }

.upload-box { display: block; cursor: pointer; margin-bottom: 16px; }
.upload-box input { display: none; }
.upload-content { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; padding: 18px; border: 2px dashed #9ED7B5; border-radius: 18px; background: #F9FFFB; transition: .25s; }
.upload-content:hover { border-color: var(--primary); background: #F4FCF7; }
.upload-content.success { border: 2px solid var(--primary); background: #F2FBF5; }
.upload-icon { width: 34px; height: 34px; margin-bottom: 10px; }
.upload-title { color: var(--primary); font-weight: 700; margin-bottom: 4px; text-align: center; }
.upload-content small { color: #888; }
.upload-preview-img { width: 185px; height: 168px; object-fit: cover; border-radius: 16px; border: 1px solid #DDE7DF; box-shadow: 0 4px 12px rgba(0,0,0,.08); cursor: pointer; transition: .25s; }
.upload-preview-img:hover { transform: scale(1.03); }
.preview-empty { height: 168px; border: 2px dashed #D8E8DD; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #999; font-size: 13px; background: #FAFAFA; }
.upload-status { margin-top: 12px; font-size: 13px; color: #888; transition: .25s; }
.upload-status.success { color: var(--primary); font-weight: 600; }

.progress-bar { background: linear-gradient(90deg, #8ac2a8 0%, #a6d7a0 100%) !important; border-radius: 10px; box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3); }
.progress { background-color: #e9ecef; border-radius: 10px; overflow: hidden; }

/*=====================================================
    14. TABLE, TIMELINE & INFO BOX
======================================================*/
.table-mobile { width: 100%; border-collapse: collapse; }
.table-mobile tr { border-bottom: 1px solid var(--border); }
.table-mobile th { width: 35%; padding: 12px 0; text-align: left; color: var(--text-light); font-size: 13px; font-weight: 500; }
.table-mobile td { padding: 12px 0; color: var(--text); }

.timeline { position: relative; margin: 20px 0; }
.timeline-item { position: relative; padding-left: 42px; margin-bottom: 24px; }
.timeline-item::before { content: ""; position: absolute; left: 12px; top: 0; bottom: -24px; width: 2px; background: #E4E4E4; }
.timeline-item:last-child::before { display: none; }
.timeline-dot { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); }
.timeline-title { font-weight: 600; }
.timeline-date { font-size: 12px; color: var(--text-light); }

.info-success { background: #E8F5E9; border-left: 5px solid var(--primary); border-radius: 12px; padding: 15px; margin-top: 15px; margin-bottom: 20px; }
.info-title { color: var(--primary); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.info-text { color: #555; line-height: 1.6; font-size: 13px; }

.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.info-item { background: #F8F9FA; border-radius: 14px; padding: 14px; }
.info-item small { display: block; color: #777; font-size: 12px; margin-bottom: 4px; }
.info-item strong { font-size: 15px; color: var(--text); }

/*=====================================================
    15. LOGIN, SUCCESS & EMPTY STATE
======================================================*/
.login-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #FFF; text-align: center; padding: 45px 20px 70px; }
.logo-circle { width: 92px; height: 92px; margin: auto; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; justify-content: center; align-items: center; }
.logo-circle {
    /* Asumsi ini adalah styling dasar lingkaran Anda */
    width: 90px;       /* Sesuaikan ukuran lingkaran */
    height: 90px;      /* Harus sama dengan width agar bulat sempurna */
    border-radius: 50%;
    background-color: #ffffff; /* Atau warna background yang Anda mau */
    
    /* Tambahkan properti di bawah ini agar gambar pas di tengah */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;  /* SANGAT PENTING: Memotong gambar yang keluar dari area lingkaran */
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Membuat gambar memenuhi lingkaran tanpa distorsi (gepeng) */
    /* Gunakan 'object-fit: contain;' jika Anda ingin gambar terlihat utuh semua (ada ruang kosong di pinggir) */
}

.login-card { margin: -50px 18px 18px; padding: 24px; background: #FFF; border-radius: 22px; box-shadow: var(--shadow); margin-top: 20px; }
.login-card h3 { margin-bottom: 18px; }
.alert-login { margin-top: 16px; padding: 12px; border-radius: 10px; background: #FFF2F2; color: #D93025; }
.login-footer { margin-top: 24px; text-align: center; color: var(--text-light); font-size: 13px; }

.success-page { text-align: center; padding: 40px 20px; }
.success-icon { margin-bottom: 20px; }
.success-icon .material-icons { font-size: 80px; color: var(--primary); }
.success-page h2 { font-size: 24px; margin-bottom: 10px; }
.success-page p { color: #777; margin-bottom: 25px; }

.empty-state { text-align: center; padding: 50px 20px; }
.empty-state .material-icons { font-size: 64px; color: #CFCFCF; }
.empty-state h4 { margin-top: 12px; }
.empty-state p { color: var(--text-light); }

.page-header { padding: 28px 20px 18px; }
.page-header h3 { margin: 0; font-size: 26px; font-weight: 700; color: var(--primary); }
.page-header small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-light); }

/*=====================================================
    16. ANIMATION & MODAL
======================================================*/
.fade-up { animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.image-preview-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 9999; justify-content: center; align-items: center; }
.image-preview-modal img { max-width: 92%; max-height: 90%; border-radius: 18px; background: #FFF; }
.close-preview { position: absolute; top: 18px; right: 22px; font-size: 34px; color: #FFF; cursor: pointer; }

/*=====================================================
    17. BOTTOM NAVIGATION (KRITIS)
======================================================*/
.bottom-nav{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    bottom:0;

    width:100%;
    max-width:430px;
    height:68px;

    background:#FFF;
    border-top:1px solid var(--border);
    z-index:999;
}

.bottom-nav-menu { display: flex; width: 100%; height: 100%; }
.bottom-nav-menu .nav-item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; gap: 4px; color: #666; }
.bottom-nav-menu .nav-item:hover { text-decoration: none; }

.nav-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); display: flex; justify-content: center; align-items: center; transition: .25s; }
.nav-icon img { width: 22px; height: 22px; }
.nav-text { font-size: 11px; font-weight: 500; color: #666; }

.bottom-nav-menu .nav-item.active .nav-icon { background: var(--primary); }
.bottom-nav-menu .nav-item.active .nav-icon img { filter: brightness(0) invert(1); }
.bottom-nav-menu .nav-item.active .nav-text { color: var(--primary); font-weight: 600; }

/*=====================================================
    18. RESPONSIVE
======================================================*/
@media (max-width: 430px) {
    .mobile-container { margin: 0; max-width: 100%; border-radius: 0; }
    .bottom-nav { border-radius: 0; }
}

@media (min-width: 431px) {
    body { padding: 20px; }
    .mobile-container { height: 90vh; max-height: 900px; }
}


/*=====================================================
    GLOBAL DASHBOARD TOP BAR (BACKGROUND HIJAU)
======================================================*/
.dashboard-top-wrapper{
    position: sticky;
    top: 0;
    z-index: 1000;

    background: linear-gradient(
        135deg,
        #198754 0%,
        #28a745 55%,
        #34c759 100%
    );

    padding:16px 18px 22px;

    box-shadow:0 8px 24px rgba(0,0,0,.08);

    margin:12px;
    border-radius:15px;
}


.dashboard-top{
    display:flex;
    align-items:center;
    gap:12px;
}

.dashboard-search{
    flex:1;
}

.search-form{

    display:flex;
    align-items:center;

    background:#fff;

    height:48px;

    border-radius:18px;

    padding:0 16px;

    box-shadow:
    0 4px 12px rgba(0,0,0,.08);
}


.search-icon{

    color:#9CA3AF;

    font-size:22px;

    margin-right:10px;
}


.search-input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;
}


.header-right{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0; /* jangan sampai mengecil */
}


.header-btn{

    width:46px;

    height:46px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(255,255,255,.18);

    color:#fff;

    backdrop-filter:blur(10px);

    transition:.2s;
}


.header-btn:hover{

    background:rgba(255,255,255,.28);

    transform:translateY(-2px);
}


.notification-badge{
    position:absolute;
    top:-4px;
    right:-4px;

    min-width:18px;
    height:18px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:10px;
    font-weight:700;

    background:#EF4444;
    color:#fff;

    border:2px solid #fff;
}


/*=====================================================
    SEARCH
======================================================*/

.search-page{

    margin:18px;
}

.search-form-page{

    display:flex;
    align-items:center;

    background:#fff;

    border-radius:18px;

    padding:14px 18px;

    box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.search-input-page{

    flex:1;

    border:none;

    outline:none;

    margin-left:10px;

    background:transparent;

    font-size:15px;
}

.search-info{

    margin:20px 18px 12px;

    color:#6B7280;

    font-size:14px;
}

.search-result{

    margin:0 18px 28px;

    display:flex;

    flex-direction:column;

    gap:12px;
}

.search-card{

    display:flex;

    align-items:center;

    gap:14px;

    background:#fff;

    padding:16px 18px;

    border-radius:18px;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

    color:inherit;
}

.search-card:hover{

    text-decoration:none;
}

.search-card-icon{

    width:46px;

    height:46px;

    border-radius:14px;

    background:#EAF7F0;

    color:#198754;

    display:flex;

    align-items:center;

    justify-content:center;
}

.search-card-body{

    flex:1;
}

.search-title{

    font-size:15px;

    font-weight:600;

    color:#111827;
}

.search-arrow{

    color:#9CA3AF;
}

.empty-search{

    margin:60px 18px;

    text-align:center;

    color:#9CA3AF;
}

.empty-search .material-icons{

    font-size:64px;

    margin-bottom:10px;
}


/*==========================================
    SIMPANAN
==========================================*/

.page-header{

    margin:18px;

    margin-top: -12px; /* ← Naikkan 12px ke atas (bisa disesuaikan) */
    /* atau bisa juga pakai: */
    /* transform: translateY(-12px); */
}

.back-button{

    width:42px;

    height:42px;

    border-radius:12px;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#198754;

    box-shadow:0 4px 12px rgba(0,0,0,.06);

    text-decoration:none;

}

.page-header h4{

    margin:0;

    font-size:22px;

    font-weight:700;

}

.page-header p{

    margin:0;

    color:#6B7280;

}

.saving-summary{

    margin:18px;

}

.saving-card{

   background:linear-gradient(135deg,#198754,#22C55E);

    color:#fff;

    border-radius:15px;

    padding:16px 18px;

    box-shadow:0 8px 18px rgba(25,135,84,.18);

    margin-bottom:20px;

}

.saving-label{

    opacity:.9;

    font-size:15px;

}

.saving-total{

    font-size:34px;

    font-weight:700;

    margin:10px 0;

}

.saving-desc{

    opacity:.9;

    font-size:13px;

}

.modern-card{

    border-radius:22px;

    border:none;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

}

.card-mobile-title{

    display:flex;

    align-items:center;

    font-size:18px;

    font-weight:700;

}

.btn-modern{

    border-radius:14px;

    padding:14px;

    font-size:15px;

    font-weight:600;

}


/*==========================================
    HISTORY CARD
==========================================*/

.modern-history-card{

    border:none;

    border-radius:20px;

    box-shadow:0 6px 18px rgba(0,0,0,.05);

    padding:18px;

    margin-bottom:16px;

}

.history-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:16px;

}

.history-left{

    display:flex;

    align-items:center;

    gap:14px;

}

.history-icon{

    width:52px;

    height:52px;

    border-radius:16px;

    background:#EAF7F0;

    color:#198754;

    display:flex;

    justify-content:center;

    align-items:center;

}

.history-icon .material-icons{

    font-size:28px;

}

.history-right{

    text-align:right;

}

.history-divider{

    height:1px;

    background:#ECECEC;

    margin:16px 0;

}

.upload-proof-card{

    background:#F8FAFC;

    border-radius:16px;

    padding:16px;

    margin-top:16px;

}

.history-value{

    font-size:18px;

    font-weight:700;

    color:#198754;

}


.badge{

    border-radius:30px;

    padding:7px 12px;

    font-size:12px;

    font-weight:600;

}

.status-badge{
    display:inline-block;
    margin-top:8px;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
}

.status-draft{
    background:#E5E7EB;
    color:#374151;
}

.status-warning{
    background:#FEF3C7;
    color:#92400E;
}

.status-info{
    background:#DBEAFE;
    color:#1D4ED8;
}

.status-primary{
    background:#DBEAFE;
    color:#1E40AF;
}

.status-success{
    background:#DCFCE7;
    color:#166534;
}

.status-danger{
    background:#FEE2E2;
    color:#B91C1C;
}


.pagination{

    gap:8px;

}

.page-link{

    border-radius:12px;

    border:none;

    color:#198754;

    box-shadow:0 2px 8px rgba(0,0,0,.05);

}

.page-item.active .page-link{

    background:#198754;

    border-color:#198754;

}

/*==========================================
    UPLOAD BUKTI TRANSFER
==========================================*/

input[type="file"]{

    height:34px;

    padding:6px 12px;

    font-size:14px;

    border-radius:12px;

}


/*==========================================
    HERO PINJAMAN
==========================================*/

.loan-hero{

    background:linear-gradient(135deg,#198754,#22C55E);

    color:#fff;

    border-radius:22px;

    padding:22px;

    box-shadow:0 10px 24px rgba(25,135,84,.25);

    margin:18px;

}

.loan-hero-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

}

.loan-label{

    font-size:14px;

    opacity:.9;

}

.loan-number{

    font-size:16px;

    margin-top:4px;

}

.loan-total{

    font-size:34px;

    font-weight:700;

    margin:10px 0;

}

.loan-status{

    display:inline-block;

    background:rgba(255,255,255,.18);

    padding:8px 16px;

    border-radius:30px;

    font-weight:600;

}

.loan-icon{

    font-size:32px;

    opacity:.25;

}

.loan-info-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:14px;

}

.loan-info{

    background:#fff;

    border-radius:18px;

    padding:16px;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

}

.loan-info small{

    display:block;

    color:#6B7280;

    margin-bottom:6px;

}

.loan-info strong{

    color:#111827;

}


.loan-status{

    display:inline-flex;
    align-items:center;
    gap:6px;

    border-radius:999px;

    background:rgba(255,255,255,.20);

    border:1px solid rgba(255,255,255,.30);

    color:#fff;

    font-weight:600;

    padding:6px 14px;

    font-size:13px;

}

.loan-bottom{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    margin-top:12px;

}

/* ================================
   1. CARD UTAMA (FOTO & INFO DASAR)
================================ */
.summary-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px; /* ✅ Dari 24px 20px → 14px 18px */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f3f5;
    position: relative;
    overflow: hidden;
}

/* Efek dekoratif gradient hijau di pojok atas card */
.summary-card.text-center::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(135deg, #198754 0%, #22C55E 100%);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    z-index: 0;
}

/* Pastikan konten berada di atas gradient */
.summary-card.text-center > * {
    position: relative;
    z-index: 1;
}

/* ================================
   2. WRAPPER FOTO (Background Hijau)
================================ */
.profile-photo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #22C55E);
    box-shadow: 0 10px 24px rgba(25, 135, 84, 0.25);
    margin-top: 8px;
    padding: 6px;
}

/* ================================
   3. FOTO PROFIL (di dalam wrapper)
================================ */
.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    background-color: #e9ecef;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.03);
}

/* ================================
   4. ICON DEFAULT (jika tidak ada foto)
================================ */
.profile-default-icon {
    font-size: 70px;
    color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 4px solid #ffffff;
    backdrop-filter: blur(4px);
}

/* ================================
   5. NAMA ANGGOTA
================================ */
.summary-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 16px 0 6px 0 !important;
    letter-spacing: -0.3px;
    word-break: break-word;
}

/* ================================
   6. BADGE NOMOR ANGGOTA
================================ */
.member-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #198754;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    border: 1px solid #a5d6a7;
}

/* ================================
   7. RESPONSIVE (Layar kecil)
================================ */
@media (max-width: 360px) {
    .summary-card {
        padding: 20px 16px;
    }
    .profile-photo-wrapper {
        width: 110px;
        height: 110px;
    }
    .profile-default-icon {
        font-size: 60px;
    }
    .summary-card h4 {
        font-size: 18px;
    }
}


/* ================================
   JUDUL SECTION
================================ */
.summary-card .profile-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: -0.2px;
    position: relative;
}

.summary-card .profile-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #198754, #22C55E);
    border-radius: 2px;
}

/* ================================
   PROFILE ITEM - TETAP HORIZONTAL
================================ */
.summary-card .profile-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
    box-sizing: border-box;
}

.summary-card .profile-item:last-child {
    border-bottom: none !important;
    padding-bottom: 4px !important;
}

.summary-card .profile-item:first-of-type {
    padding-top: 4px !important;
}

/* ================================
   LABEL (KIRI)
================================ */
.summary-card .profile-item > small {
    font-size: 13px !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    min-width: 110px;
    max-width: 40%;
    line-height: 1.5 !important;
    text-align: left !important;
    display: block !important;
    margin: 0 !important;
    word-break: break-word;
}

/* ================================
   VALUE / DATA (KANAN)
================================ */
.summary-card .profile-item > strong {
    font-size: 14px !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    text-align: right !important;
    flex: 1 !important;
    word-break: break-word;
    line-height: 1.5 !important;
    display: block !important;
    margin: 0 !important;
    min-width: 0;
}

/* ================================
   HOVER EFFECT
================================ */
.summary-card .profile-item:hover {
    background-color: #fafafa;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

/* ================================
   RESPONSIVE - TETAP HORIZONTAL
================================ */
@media (max-width: 480px) {
    .summary-card .profile-item {
        gap: 8px;
        padding: 12px 0;
    }
    
    .summary-card .profile-item > small {
        min-width: 90px;
        font-size: 12px !important;
    }
    
    .summary-card .profile-item > strong {
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .summary-card .profile-item > small {
        min-width: 80px;
        font-size: 11px !important;
    }
    
    .summary-card .profile-item > strong {
        font-size: 12px !important;
    }
}

/* ================================
   EMPTY STATE (Belum Ada Data)
================================ */
.empty-state {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f3f5;
    text-align: center;
    margin-bottom: 16px;
}

/* Icon Circle Hijau (sama seperti profile-default-icon) */
.empty-state-icon {
    width: 80px;
    height: 80px;
    font-size: 40px !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #198754 0%, #22C55E 100%);
    color: #ffffff !important;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(25, 135, 84, 0.25);
    margin-bottom: 16px;
}

/* Judul Empty State */
.empty-state-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

/* Deskripsi Empty State */
.empty-state-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Tombol Aksi (opsional) */
.empty-state-action {
    margin-top: 24px;
}

.empty-state-action .btn-kopostra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
    cursor: pointer;
}

.empty-state-action .btn-kopostra:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
    .empty-state {
        padding: 36px 20px;
    }
    .empty-state-icon {
        width: 70px;
        height: 70px;
        font-size: 35px !important;
    }
    .empty-state-title {
        font-size: 15px;
    }
    .empty-state-description {
        font-size: 13px;
    }
}

/* =====================================
   HEADER MASING-MASING HALAMAN CONTENT
======================================== */
.page-header-custom {
    display: flex;
    align-items: center; /* Dikembalikan ke center agar rapi secara vertikal */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9f8 55%, #f3f4f3 100%);
    border-radius: 15px;
    padding: 12px 20px 12px 70px;
    min-height: 80px; /* Tambah properti ini */
    
     margin: 16px 16px 35px 16px; 
    
    position: relative;
    box-shadow: 0 4px 16px rgba(2, 2, 2, 0.3);
    box-sizing: border-box;
    width: calc(100% - 32px); /* Lebar penuh dikurangi margin kiri-kanan (16+16) */
}

/* === LINGKARAN BACK BUTTON === */
.back-circle {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: #28a745; /* Warna hijau sesuai gambar referensi */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.back-circle .material-icons {
    color: #ffffff; /* Ikon panah putih */
    font-size: 24px;
}

/* === TEKS JUDUL === */
.header-title {
    flex: 1;
    min-width: 0; /* Mencegah flex item meluber */
}

/* ✅ PERBAIKAN 2: Paksa judul tetap 1 baris */
.header-title h4 {
    margin: 0;
    font-size: 20px; /* Ukuran font sedikit disesuaikan agar muat */
    font-weight: 900;
    color: #000000; /* Warna teks hijau (sesuaikan dengan preferensi Anda) */
    white-space: nowrap; /* KUNCI: Mencegah teks turun ke baris ke-2 */
    overflow: hidden;
    text-overflow: ellipsis; /* Jika layar sangat kecil, teks akan dipotong dengan '...' */
    letter-spacing: 0.5px;
}

/* Alert khusus untuk data yang terkunci/readonly */
.alert-locked {
    background-color: #fff5f5; /* Merah sangat muda (soft) */
    border: 1px solid #f5c6cb; /* Border merah tipis */
    color: #842029;            /* Teks merah gelap */
    border-radius: 8px;        /* Sudut membulat */
    display: inline-block;     /* Lebar menyesuaikan teks */
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.05);
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 12px 16px !important; /* Perkecil padding agar lebih proporsional */
    font-size: 14px;               /* Ukuran font sedikit diperkecil */
}

/* Wrapper untuk menengahkan alert */
.alert-wrapper-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Pesan pada surat pengajuan Pinjaman */
.alert.alert-success {
    margin-left: 16px;
    margin-right: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

/* hilangkan margin bawaan browser */
body {
    margin: 0;
}

