/* =========================================
   1. REGISTRASI FONT KUSTOM
   ========================================= */
@font-face {
    font-family: 'FontHeaderKustom';
    src: url('transferkebanklain.ttf') format('truetype');
}
@font-face {
    font-family: 'FontTombolKustom';
    src: url('transferketujuanbaru.ttf') format('truetype');
}
@font-face {
    font-family: 'FontLabelBank';
    src: url('banktujuan.ttf') format('truetype');
}
@font-face {
    font-family: 'FontNamaBank';
    src: url('namabank.ttf') format('truetype');
}
@font-face {
    font-family: 'FontRekeningKetik';
    src: url('rekeningketik.ttf') format('truetype');
}
@font-face {
    font-family: 'FontNamaPenerima';
    src: url('namapenerima.ttf') format('truetype');
}
@font-face {
    font-family: 'FontBankPenerima';
    src: url('bankpenerima.ttf') format('truetype');
}
@font-face {
    font-family: 'FontError';
    src: url('tulisanmerah.ttf') format('truetype');
}

/* --- FONT HALAMAN KONFIRMASI --- */
@font-face {
    font-family: 'FontJudulKonfirmasi';
    src: url('judulkonfirmasi.ttf') format('truetype');
}
@font-face {
    font-family: 'FontIsiKonfirmasi';
    src: url('konfirmasi.ttf') format('truetype');
}

/* --- FONT HALAMAN PIN --- */
@font-face {
    font-family: 'FontPinTitle';
    src: url('pintransaksi.ttf') format('truetype');
}
@font-face {
    font-family: 'FontPinSubtitle';
    src: url('masukanpin.ttf') format('truetype');
}

/* --- FONT BARU: HALAMAN BUKTI TRANSFER (REQUEST TERBARU) --- */
/* Lingkaran Merah (Kanan & Header Utama) */
@font-face {
    font-family: 'FontBuktiKanan';
    src: url('kananbukti.ttf') format('truetype');
}
/* Lingkaran Hijau (Kiri & Waktu) */
@font-face {
    font-family: 'FontBuktiKiri';
    src: url('kiribukti.ttf') format('truetype');
}

/* Font Baru Khusus Nominal Besar Biru */
@font-face {
    font-family: 'FontNominalBiru Baru';
    src: url('nominalbiru.ttf') format('truetype');
}

/* =========================================
   2. RESET & LAYOUT DASAR
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; 
}

body {
    background-color: #0d3866; 
    height: 100vh;
    width: 100vw;
    overflow: hidden; 
    display: flex;
    justify-content: center;
}

.mobile-screen {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;
    height: 100%;
    position: relative; 
    overflow: hidden;   
}

.page-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Gunakan height tetap dari parent atau dvh agar tidak mengecil saat keyboard naik */
    height: 100%; 
    display: flex;
    flex-direction: column;
    background-color: #0d3866;
    transform: translateX(100%); 
    /* Hilangkan filter atau transisi yang berat saat input fokus */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Tambahkan ini untuk mencegah glitch filter saat keyboard aktif */
.page-section.pushed-left {
    filter: none !important; 
    transform: translateX(-25%);
}


.page-section.active {
    transform: translateX(0); 
    filter: brightness(1); 
    z-index: 10;
}

#page-home {
    z-index: 1;
}

/* =========================================
   3. HEADER
   ========================================= */
.header {
    /* Padding atas diubah dari 20px menjadi 45px agar turun ke bawah status bar */
    padding: 45px 16px 15px 16px; 
    /* Baris di bawah ini opsional untuk layar HP modern yang memiliki "Notch/Poni" */
    padding-top: max(45px, env(safe-area-inset-top)); 
    display: flex;
    align-items: center;
    color: white;
    height: auto; 
    min-height: 85px; /* Tinggi disesuaikan agar proporsional */
    flex-shrink: 0;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.header-title {
    font-family: 'FontHeaderKustom', sans-serif !important; 
    font-size: 18px;
    font-weight: 650; 
    letter-spacing: 0.3px;
    flex: 1;            
    text-align: left;  
    width: 100%;       
}

/* =========================================
   4. KONTEN UTAMA (DIPERBAIKI)
   ========================================= */
.main-content {
    background-color: white;
    flex: 1; /* Mengisi sisa ruang */
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 24px 20px 0 20px;
    display: flex;
    flex-direction: column;
    
    /* PENTING: Ganti overflow hidden menjadi auto/scroll */
    overflow-y: auto; 
    overflow-x: hidden;
    
    position: relative;
    
    /* Agar scroll smooth di iOS */
    -webkit-overflow-scrolling: touch; 
}

/* Search Box */
.search-container {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-left: 4px;
    flex-shrink: 0;
}
.search-icon {
    color: #888;
    width: 20px;
    height: 20px;
    margin-right: 12px;
}
.search-input {
    border: none;
    font-size: 15px;
    color: #333;
    width: 100%;
    outline: none;
}
.search-input::placeholder { color: #999; font-weight: 400; }

/* =========================================
   5. TOMBOL MENU & LIST BANK
   ========================================= */
.action-button {
    background-color: #005eb8;
    color: white;
    border: none;
    border-radius: 15px; 
    padding: 10px 16px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.2s;
    margin-bottom: 20px;
    min-height: 54px; 
    width: 100%;
    flex-shrink: 0;
}
.action-button:active { background-color: #004a94; }
.btn-left-content { display: flex; align-items: center; gap: 12px; }
.icon-user-wrapper { display: flex; align-items: center; justify-content: center; width: 32px; }
.icon-user-image { width: 28px; height: 28px; object-fit: contain; display: block; }
.btn-text { font-family: 'FontTombolKustom', sans-serif; font-weight: 650; font-size: 16px; }

/* Spacer */
.spacer-container { overflow-y: auto; flex: 1; }
.separator-line { height: 60px; border-bottom: 1px solid #f2f2f2; width: 100%; }

/* List Bank */
.bank-search { border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 0; }
.bank-list-container { flex: 1; overflow-y: auto; padding-top: 13px; -ms-overflow-style: none; scrollbar-width: none; }
.bank-list-container::-webkit-scrollbar { display: none; }
.bank-item {
    color: #0d3866;
    font-family: 'FontNamaBank', sans-serif; 
    font-weight: 700;
    font-size: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    text-transform: uppercase;
}
.bank-item:hover { background-color: #f9f9f9; }
.no-result { padding: 20px 0; text-align: center; color: #999; font-size: 14px; display: none; }
.bank-item-spacer { height: 100px; }

/* =========================================
   6. HALAMAN INPUT REKENING
   ========================================= */
.input-form-container {
    padding-top: 0px;
    display: flex;
    flex-direction: column;
}

.label-small-blue {
    font-family: 'FontLabelBank', sans-serif; 
    color: #005eb8;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.value-bank-name {
    color: #005eb8;
    font-family: 'FontNamaBank', sans-serif; 
    font-weight: 780;
    text-transform: uppercase;
    font-size: 20px; 
    transform: scaleY(1); 
    transform-origin: left top; 
    display: inline-block; 
    margin-bottom: 30px; 
}

.floating-input-group {
    position: relative;
    margin-bottom: 40px; 
    padding-top: 15px; 
}

.input-underline {
    width: 100%;
    border: none;
    border-bottom: 1px solid black; 
    padding: 8px 0;
    font-size: 16px;
    outline: none;
    background: transparent;
    border-radius: 0;
    color: #333; 
    font-weight: 600;
    font-family: 'FontRekeningKetik', sans-serif !important;
    letter-spacing: 0.5px; 
}
.input-underline:focus { border-bottom: 2px solid black; }

.floating-label-text {
    font-family: 'FontTombolKustom', sans-serif; 
    color: #005eb8; 
    font-weight: 600; 
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 22px; 
    transition: 0.2s ease all;
    pointer-events: none; 
}

.input-underline:focus ~ .floating-label-text,
.input-underline:not(:placeholder-shown) ~ .floating-label-text {
    top: 0px; 
    font-size: 12px; 
    opacity: 1;
}

.btn-disabled {
    background-color: #a0a0a0;
    color: white;
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: default;
    text-align: center;
    pointer-events: none; 
    transition: background-color 0.3s;
}

.btn-active-blue {
    background-color: #005eb8; 
    color: white;
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0, 94, 184, 0.3);
}

/* =========================================
   7. HALAMAN DETAIL TRANSFER
   ========================================= */
.recipient-card {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.recipient-icon-box {
    width: 50px;
    height: 50px;
    background-color: #005eb8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
}
.icon-nominal-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.recipient-details {
    display: flex;
    flex-direction: column;
}
.text-recipient-name {
    font-family: 'FontNamaPenerima', sans-serif; 
    color: #005eb8;
    font-weight: 800;
    font-size: 19px;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.text-recipient-bank {
    font-family: 'FontBankPenerima', sans-serif; 
    color: #333;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 3px;
    text-transform: uppercase;
}
.text-recipient-rek {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 16px;
}

.label-section {
    font-family: 'FontTombolKustom', sans-serif; 
    color: #005eb8;
    font-size: 16px; 
    font-weight: 600;
    margin-bottom: 10px;
}

.source-account-box {
    border: 1px solid #2dbeff; 
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    background-color: white;
}
.text-source-number {
    font-family: 'FontTombolKustom', sans-serif; 
    color: #0d3866;
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.text-source-type {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 15px;
}

.nominal-container {
    display: flex;
    align-items: center; 
    margin-bottom: 24px;
}
.currency-label-group {
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.text-currency-val {
    font-family: 'Inter', sans-serif;
    color: #333;
    font-weight: 700;
    font-size: 19px;
    line-height: 1;
}

.nominal-input-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.input-nominal {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: 'FontRekeningKetik', sans-serif !important;
    font-size: 21px;
    color: #333;
    padding-bottom: 8px;
    padding-top: 5px; 
    outline: none;
    background: transparent;
    margin-top: 0;
}
.input-nominal:focus { border-bottom: 2px solid #005eb8; }

.floating-label-nominal {
    position: absolute;
    left: 0;
    top: 5px; 
    font-family: 'FontTombolKustom', sans-serif;
    color: #005eb8;
    font-weight: 600;
    font-size: 19px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.input-nominal:focus ~ .floating-label-nominal,
.input-nominal:not(:placeholder-shown) ~ .floating-label-nominal {
    top: -18px;
    font-size: 13px;
    opacity: 1;
}

.error-text-red {
    font-family: 'FontError', sans-serif !important;
    color: #d90000;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    padding-top: 5px;
    font-style: italic; 
}

.service-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
    cursor: pointer;
}
.service-label {
    font-family: 'FontLabelBank', sans-serif; 
    color: #005eb8;
    font-weight: 700;
    font-size: 17px;
}

.transfer-type-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.btn-toggle {
    flex: 1;
    padding: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 14px;
}
.btn-toggle-active {
    background-color: #0F52A3; 
    color: white;
    border: none;
}
.btn-toggle-inactive {
    background-color: white;
    color: #005eb8;
    border: 1px solid #ccc;
}

.note-container {
    margin-bottom: 40px;
}
.text-disclaimer {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
    margin-top: 6px;
}

/* =========================================
   8. STYLE HALAMAN KONFIRMASI
   ========================================= */
.conf-alert-banner {
    background-color: #ebf3fa; 
    color: #0d3866;
    font-family: 'FontIsiKonfirmasi', sans-serif;
    font-size: 15px; 
    font-weight: 600;
    text-align: center;
    padding: 16px 25px;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}
.conf-list-container {
    background-color: white;
    padding-bottom: 100px;
}
.conf-row {
    padding: 18px 0; 
    border-bottom: 1px solid #f0f0f0; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.conf-label {
    font-family: 'FontJudulKonfirmasi', sans-serif;
    color: #666666;
    font-size: 14px; 
    margin-bottom: 6px;
    font-weight: 400;
}
.conf-value {
    font-family: 'FontIsiKonfirmasi', sans-serif;
    color: #222; 
    font-size: 17px; 
    font-weight: 700;
    margin-bottom: 2px;
}
.conf-value-name {
    font-family: 'FontIsiKonfirmasi', sans-serif;
    text-transform: uppercase;
    font-size: 18px; 
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}
.conf-value-bank {
    font-family: 'FontIsiKonfirmasi', sans-serif;
    font-size: 16px; 
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.conf-value-rek {
    font-family: 'FontIsiKonfirmasi', sans-serif;
    font-size: 16px; 
    color: #000;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-conf-container {
    padding: 20px;
}

/* =========================================
   15. STYLE HALAMAN PIN & LOADING
   ========================================= */
.pin-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    flex: 1;
}
.icon-lock-blue {
    width: 24px;
    height: 24px;
    margin-bottom: 15px;
    color: #005eb8; 
}
.text-pin-title {
    font-family: 'FontPinTitle', sans-serif; 
    color: #0d3866;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.text-pin-subtitle {
    font-family: 'FontPinSubtitle', sans-serif; 
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}
.pin-input-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}
.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: transparent;
    transition: all 0.2s;
}
.pin-dot.filled {
    background-color: #005eb8;
    border-color: #005eb8;
}
.eye-icon-toggle {
    position: absolute;
    right: 40px; 
    cursor: pointer;
    color: #666;
}
.custom-numpad {
    background-color: #d1d5db; 
    padding: 10px 6px;
    padding-bottom: 30px; 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    margin-top: auto; 
}
.numpad-btn {
    background-color: #fcfcfc;
    border-radius: 5px;
    border: none;
    height: 48px;
    font-size: 22px;
    font-weight: 600;
    color: #000;
    box-shadow: 0 1px 0 #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.numpad-btn:active { background-color: #e0e0e0; }
.numpad-btn.transparent { background-color: transparent; box-shadow: none; }
/* Cari dan ganti bagian ini di style.css */
#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Hapus background-color: white; */
    background-color: rgba(255, 255, 255, 0.2); /* Latar transparan tipis */
    
    /* Tambahkan efek blur pada konten di belakangnya */
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    
    z-index: 9999; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#loading-overlay.active { opacity: 1; pointer-events: auto; }
#lottie-container { width: 150px; height: 150px; }

/* =========================================
   14 & 16. STYLE HALAMAN BUKTI TRANSFER (RECEIPT)
   (UPDATED FONTS kananbukti.ttf & kiribukti.ttf)
   ========================================= */

#page-receipt {
    background-color: white;
    background-image: url('watermark.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
}

/* Notifikasi Atas (LINGKARAN MERAH -> kananbukti.ttf) */
.notification-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease, top 0.5s ease;
}
.notification-banner.show {
    opacity: 1;
    top: 50px; 
}

.notif-icon-box {
    width: 35px;
    height: 35px;
    background-color: #005eb8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}
.notif-content {
    flex: 1;
    color: white;
    font-family: 'Inter', sans-serif;
}
.notif-title-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px; 
    font-weight: 600;
    margin-bottom: 2px;
    
    /* Font Kanan */
    font-family: 'FontBuktiKanan', sans-serif; 
}
.notif-desc {
    font-size: 13px; 
    line-height: 1.3;
    color: #e0e0e0;
    
    /* Font Kanan */
    font-family: 'FontBuktiKanan', sans-serif; 
}

/* Header Receipt */
.receipt-header {
    margin-top: 80px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.success-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #1a9d8e; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 0 4px #e0f4f2; 
}
.failure-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #ffebee; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 0 4px #fff0f0; 
}
.status-icon-img {
    width: 89px;
    height: 89px;
    object-fit: contain;
}

/* Status (Berhasil/Gagal) -> LINGKARAN MERAH -> kananbukti.ttf */
.text-status-success {
    font-family: 'FontBuktiKanan', sans-serif; /* UPDATE */
    font-weight: 700;
    color: #0d3866;
    font-size: 19px; 
    margin-bottom: 4px;
}
.text-status-failed {
    font-family: 'FontBuktiKanan', sans-serif; /* UPDATE */
    font-weight: 700;
    color: #d90000; 
    font-size: 19px; 
    margin-bottom: 4px;
}

/* Waktu (08 Jan...) -> LINGKARAN HIJAU -> kiribukti.ttf */
.text-time-success {
    font-family: 'FontBuktiKiri', sans-serif; /* UPDATE */
    font-weight: 400;
    color: #666;
    font-size: 14px; 
    margin-bottom: 12px;
}

/* Total Nominal (IDR 64...) -> SEKARANG MENGGUNAKAN nominalbiru.ttf */
.text-amount-success {
    font-family: 'FontNominalBiru Baru', sans-serif; 
    font-weight: 800;
    color: #0d3866;
    font-size: 28px; 
}

/* List Data */
.receipt-list {
    padding: 0 24px;
    margin-bottom: 30px;
}
.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}

/* Label (Kiri) -> LINGKARAN HIJAU -> kiribukti.ttf */
.receipt-label {
    font-family: 'FontBuktiKiri', sans-serif; /* UPDATE */
    color: #555;
    font-size: 15px; 
    font-weight: 400;
    flex: 1;
}

/* Value (Kanan) -> LINGKARAN MERAH -> kananbukti.ttf */
.receipt-value {
    font-family: 'FontBuktiKanan', sans-serif; /* UPDATE */
    color: #000;
    font-size: 15px; 
    font-weight: 600;
    text-align: right;
    flex: 1.5; 
    word-wrap: break-word;
    text-transform: uppercase;
}
.receipt-value.normal-case { text-transform: none; }

/* Pesan Gagal */
.receipt-failure-info {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0 24px;
    text-align: center;
    display: none; 
}
.text-failure-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #d90000;
    font-size: 15px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.text-failure-desc {
    font-family: 'FontError', sans-serif; 
    font-style: italic;
    color: #d90000;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.receipt-footer {
    padding: 20px 24px 40px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent; 
    margin-top: auto; 
}
.btn-circle-outline {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #005eb8;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.btn-finish {
    flex: 1;
    background-color: #005eb8;
    color: white;
    border: none;
    border-radius: 25px;
    height: 45px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 17px; 
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 94, 184, 0.3);
}

#page-receipt .main-content {
    padding: 0;
    background-color: transparent; 
}
/* =========================================
   UPDATE: NOTIFIKASI IPHONE STYLE (FIXED)
   ========================================= */

.notification-banner {
    position: absolute;
    /* Posisi Awal: Di atas layar (tersembunyi) */
    top: -120px; 
    
    /* Atur jarak kiri-kanan agar pasti di tengah */
    left: 16px;
    right: 16px;
    width: auto; 
    
    /* PENTING: Reset transform agar tidak miring/terpotong */
    transform: none !important; 
    
    /* Styling Visual iOS */
    background-color: rgba(30, 30, 30, 0.90); /* Gelap transparan */
    backdrop-filter: blur(25px); /* Efek blur di belakang */
    -webkit-backdrop-filter: blur(25px);
    
    border-radius: 22px; /* Lebih bulat (Pill shape) */
    padding: 12px 16px;
    display: flex;
    align-items: center; 
    
    /* Shadow lembut */
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    
    /* Animasi Masuk: Smooth Spring (Membal) */
    opacity: 0;
    transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* Class saat notifikasi muncul */
.notification-banner.show {
    top: 15px; /* Posisi akhir (Jarak dari atas layar) */
    opacity: 1;
}

/* Wadah Logo myBCA */
.notif-icon-box {
    width: 40px; 
    height: 40px;
    background-color: transparent; 
    border-radius: 8px; /* Sudut tumpul logo */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Gambar Logo myBCA */
.notif-mybca-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Konten Teks */
.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4px;
}

/* Baris Judul (Nama App & Waktu) */
.notif-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Supaya waktu sejajar bawah teks */
    margin-bottom: 2px;
}

/* Judul "Catatan Finansial" -> Pakai Font Kustom Kanan */
.notif-app-name {
    font-family: 'FontBuktiKanan', sans-serif;
    font-size: 14px; 
    font-weight: 600; /* Bold */
    color: #ffffff;
    letter-spacing: 0.2px;
}

/* Waktu "sekarang" -> Pakai Font Kustom Kanan */
.notif-time {
    font-family: 'FontBuktiKanan', sans-serif;
    font-size: 12px;
    color: #d0d0d0; /* Abu terang */
    font-weight: 400;
}

/* Deskripsi -> Pakai Font Kustom Kanan */
.notif-desc {
    font-family: 'FontBuktiKanan', sans-serif;
    font-size: 13px; 
    line-height: 1.3;
    color: #ffffff;
    font-weight: 400;
    
    /* Batasi 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* =========================================
   STYLE TAMBAHAN: LOGIN GLASSMORPHISM
   ========================================= */

/* Hiasan Lingkaran Background */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0; 
}
.circle-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #0061f2, #00c6f9);
    top: -40px;
    left: -40px;
    opacity: 0.5;
}
.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff512f, #dd2476);
    bottom: -30px;
    right: -30px;
    opacity: 0.4;
}

/* Container Login */
.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 320px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

.login-header h2 {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 24px;
}
.login-header p {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 13px;
    margin-bottom: 30px;
}

/* Input Login */
.login-group {
    margin-bottom: 20px;
    padding-top: 5px;
}
.input-login {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    color: #333;
}
.input-login:focus {
    border-bottom-color: #0061f2;
}
.floating-label-login {
    position: absolute;
    left: 10px;
    top: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: 0.2s ease all;
}
.input-login:focus ~ .floating-label-login,
.input-login:not(:placeholder-shown) ~ .floating-label-login {
    top: -10px;
    font-size: 12px;
    color: #0061f2;
    font-weight: 500;
}

/* Tombol Login */
.btn-login-gradient {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0061f2, #00c6f9);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 97, 242, 0.3);
    transition: transform 0.2s;
    margin-top: 10px;
}
.btn-login-gradient:active {
    transform: scale(0.98);
}

.btn-trial-link {
    margin-top: 15px;
    font-size: 13px;
    color: #0061f2;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.login-message {
    margin-top: 15px;
    font-size: 12px;
    padding: 10px;
    border-radius: 8px;
    display: none;
    font-family: 'Poppins', sans-serif;
}
.login-message.error {
    background: #ffeaea;
    color: #d90000;
}

.copyright-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #aaa;
    font-family: 'Poppins', sans-serif;
}
/* --- Tambahkan ini di style.css --- */

.receipt-top-logo {
    width: 90px;        /* Sesuaikan ukuran logo (misal 80px - 100px) */
    height: auto;       /* Menjaga proporsi logo */
    object-fit: contain;
    margin-bottom: 25px; /* Memberi jarak antara logo dengan lingkaran ceklis */
}

/* --- Modifikasi class yang sudah ada (Opsional) --- */
/* Cari .receipt-header yang lama (sekitar baris 629) dan kurangi margin-top nya 
   agar posisi keseluruhan tidak terlalu ke bawah */

.receipt-header {
    margin-top: 40px;  /* UBAH dari 80px menjadi 40px atau 50px */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
/* 1. KECILKAN LOGO & KURANGI JARAK KE BAWAHNYA */
.receipt-top-logo {
    width: 85px;          /* Sedikit diperkecil dari 90px agar proporsional */
    height: auto;
    object-fit: contain;
    margin-bottom: 5px;   /* PENTING: Ubah dari 25px jadi 5px saja */
}

/* 2. TARIK HEADER LEBIH KE ATAS */
.receipt-header {
    margin-top: 10px;     /* PENTING: Ubah drastis dari 40px/80px jadi 10px */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;  /* Kurangi sedikit jarak ke list data */
}

/* 3. RAPATKAN JARAK ANTARA IKON (X/Ceklis) DENGAN TEKS "Transfer Gagal" */
.success-icon-circle, 
.failure-icon-circle {
    /* ... properti lain biarkan tetap ada ... */
    margin-bottom: 5px;   /* Ubah dari 15px jadi 5px */
    
    /* Pastikan properti width/height/color dsb tidak terhapus, 
       cukup ganti margin-bottom nya saja */
}
/* Cari bagian ini */

.text-status-success {
    font-family: 'FontBuktiKanan', sans-serif;
    font-weight: 700;
    color: #0d3866;
    font-size: 19px; 
    
    /* Ubah ini jika ingin jarak teks ke tanggal lebih jauh */
    margin-bottom: 4px; /* Default 4px, coba ganti 8px atau 10px */
}

.text-status-failed {
    font-family: 'FontBuktiKanan', sans-serif;
    font-weight: 700;
    color: #d90000; 
    font-size: 19px; 
    
    /* Ubah ini juga */
    margin-bottom: 4px; /* Default 4px */
}
/* Cari bagian ini di style.css */

.success-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #1a9d8e; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* UBAH ANGKA INI (Misal jadi 35px) */
    margin-bottom: 25px; 
    
    box-shadow: 0 0 0 4px #e0f4f2; 
}

.failure-icon-circle {
    width: 60px;
    height: 60px;
    background-color: #ffebee; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* UBAH ANGKA INI JUGA (Samakan dengan atas) */
    margin-bottom: 25px; 
    
    box-shadow: 0 0 0 4px #fff0f0; 
}
/* --- TAMBAHAN UNTUK STICKY BUTTON KONFIRMASI --- */

/* Wrapper untuk area yang bisa di-scroll */
.scroll-content-wrapper {
    flex: 1;            /* Mengisi sisa ruang kosong */
    overflow-y: auto;   /* Aktifkan scroll vertikal */
    -webkit-overflow-scrolling: touch; /* Smooth scroll di iOS */
}

/* Container Tombol Fixed di Bawah */
.btn-conf-container-fixed {
    flex-shrink: 0;     /* Mencegah tombol mengecil/gepeng */
    padding: 20px;
    background-color: white;
    border-top: 1px solid #f0f0f0; /* Garis pemisah tipis */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05); /* Bayangan halus ke atas */
    z-index: 10;
}
/* =========================================
   2. RESET & LAYOUT DASAR (DIPERBAIKI)
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif; 
    /* Mencegah highlight biru saat tap di Android */
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0d3866; 
    /* GUNAKAN 100dvh AGAR LEBIH STABIL DI MOBILE */
    height: 100dvh; 
    width: 100%; 
    overflow: hidden; 
    display: flex;
    justify-content: center;
    /* Mencegah efek tarik (overscroll) pada body */
    overscroll-behavior: none;
}

.mobile-screen {
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;
    height: 100%;
    position: relative; 
    overflow: hidden;
    overflow-x: hidden !important;   
    display: flex;       /* Tambahan agar struktur flex bekerja */
    flex-direction: column; 
}

/* Update pada bagian animasi di style.css */
.page-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #0d3866;
    /* Gunakan transition yang lebih bersih */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    transform: translateX(100%); 
    z-index: 1;
    visibility: hidden; /* Tambahkan ini agar tidak tersangkut secara visual */
}

.page-section.active {
    transform: translateX(0);
    z-index: 10;
    visibility: visible;
}

.page-section.pushed-left {
    transform: translateX(-100%); /* Ubah dari -25% ke -100% agar benar-benar keluar layar */
    visibility: hidden;
    z-index: 1;
}


/* Pastikan hanya receipt yang punya gambar ini */
#page-receipt {
    background-color: #0d3866; /* Kembalikan ke warna dasar aplikasi */
}

/* Pastikan halaman lain tetap solid biru/putih */
#page-transfer-detail, #page-input-data {
    background-color: #0d3866 !important;
}
/* 1. Registrasi Font Baru */
@font-face {
    font-family: 'FontInfoCatatan';
    src: url('infocatatan.ttf') format('truetype');
}

/* 2. Update style tulisan di bawah catatan */
.text-disclaimer {
    font-family: 'FontInfoCatatan', sans-serif !important; /* Menggunakan font kustom */
    color: #666;
    font-size: 14px; /* Sesuaikan ukuran jika diperlukan */
    line-height: 1.4;
    margin-top: 6px;
    font-weight: normal;
}
/* =========================================
   CUSTOM MODERN ALERT (PENGGANTI ALERT JS)
   ========================================= */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 56, 102, 0.45); /* Gelap transparan biru glossy */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000; /* Paling atas */
    
    /* PENTING: Menggunakan visibility, bukan display: none, agar animasi bisa berjalan */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.custom-alert-overlay.active {
    visibility: visible;
    opacity: 1;
}

.custom-alert-box {
    background: linear-gradient(145deg, #ffffff, #f8faff);
    width: 85%;
    max-width: 340px;
    padding: 30px 24px 24px 24px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    
    /* PENTING: Skala awal diubah jadi sangat kecil (0.1) untuk efek balon */
    transform: scale(0.1); 
    opacity: 0;
    
    /* Efek membal ala iOS (Spring animation) */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-alert-overlay.active .custom-alert-box {
    /* Kembali ke ukuran normal (100%) dengan membal */
    transform: scale(1);
    opacity: 1;
}

.alert-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff512f, #dd2476); /* Gradasi Merah/Pink */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px rgba(221, 36, 118, 0.3);
}

.custom-alert-box h3 {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-alert-box p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-alert-action {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background-color: #005eb8; /* Warna Biru BCA */
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 94, 184, 0.25);
    transition: transform 0.2s;
}

.btn-alert-action:active {
    transform: scale(0.96);
}
/* =========================================
   STYLE TIMER TOKEN (GLASSMORPHISM)
   ========================================= */
.glass-timer-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(13, 56, 102, 0.05), rgba(0, 94, 184, 0.08));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 94, 184, 0.15);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Animasi denyut halus saat waktu hampir habis */
.glass-timer-wrapper.critical {
    background: linear-gradient(135deg, rgba(217, 0, 0, 0.05), rgba(255, 81, 47, 0.08));
    border-color: rgba(217, 0, 0, 0.2);
}

.timer-icon-bg {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #005eb8, #00c6f9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(0, 94, 184, 0.3);
    flex-shrink: 0;
}

.glass-timer-wrapper.critical .timer-icon-bg {
    background: linear-gradient(135deg, #d90000, #ff512f);
    box-shadow: 0 4px 10px rgba(217, 0, 0, 0.3);
}

.timer-text-group {
    display: flex;
    flex-direction: column;
}

.timer-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-value {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d3866;
    font-variant-numeric: tabular-nums; /* Agar angka tidak goyang saat berubah */
    line-height: 1;
}

.glass-timer-wrapper.critical .timer-value {
    color: #d90000;
}
/* =========================================
   TAMBAHAN: SECTION CATATAN (TRANSFER BERHASIL)
   ========================================= */
.receipt-catatan-section {
    margin-top: 20px;
    padding-bottom: 10px;
}

.receipt-catatan-title {
    font-family: 'FontBuktiKiri', 'Inter', sans-serif; 
    color: #0d3866; 
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.receipt-catatan-list {
    padding-left: 18px; 
    margin: 0;
    font-family: 'FontInfoCatatan', 'Inter', sans-serif;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

.receipt-catatan-list li {
    margin-bottom: 12px;
    padding-left: 4px;
}

#receiptNoRef {
    word-break: break-all;
    max-width: 65%; /* Memaksa referensi turun baris */
}
/* =========================================
   OVERRIDE: MENGECILKAN SELURUH TAMPILAN BUKTI TRANSFER
   ========================================= */

/* 1. Mengecilkan Ikon Centang / Silang */
.success-icon-circle, 
.failure-icon-circle {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 15px !important;
}
.status-icon-img {
    width: 75px !important;
    height: 75px !important;
}

/* 2. Mengecilkan Teks Status (Berhasil/Gagal) */
.text-status-success,
.text-status-failed {
    font-size: 16px !important;
    margin-bottom: 4px !important;
}

/* 3. Mengecilkan Teks Tanggal & Waktu */
.text-time-success {
    font-size: 12px !important;
    margin-bottom: 10px !important;
}

/* 4. Mengecilkan Nominal Utama */
.text-amount-success {
    font-size: 24px !important; /* Dinaikkan 2px dari ukuran 22px sebelumnya */
}

/* 5. Merapatkan Jarak Antar Baris (Nama, Bank, Rekening, dll) */
.receipt-row {
    padding: 9px 0 !important; 
}

/* 6. Mengecilkan Teks Label Kiri & Nilai Kanan */
.receipt-label {
    font-size: 13px !important;
}
.receipt-value {
    font-size: 13px !important;
    color: #515459 !important; /* Mengubah warna seluruh nilai teks di sebelah kanan */
}

/* 7. Mengecilkan Teks Bagian Catatan Bawah */
.receipt-catatan-title {
    font-size: 13px !important;
    margin-bottom: 6px !important;
}
.receipt-catatan-list {
    font-size: 11px !important;
}
/* =========================================
   OVERRIDE: FONT HALAMAN INPUT NOMINAL
   ========================================= */

/* Daftarkan Font Baru */
@font-face {
    font-family: 'FontBoldKustom';
    src: url('bold.ttf') format('truetype');
}
@font-face {
    font-family: 'FontTipisKustom';
    src: url('tipis.ttf') format('truetype');
}
@font-face {
    font-family: 'FontSedangKustom';
    src: url('sedang.ttf') format('truetype');
}

/* 1. SEKARANG & ATUR TANGGAL */
.btn-toggle {
    font-family: 'FontBoldKustom', sans-serif !important;
}

/* 2. BI FAST */
.service-label {
    font-family: 'FontTipisKustom', sans-serif !important;
    font-weight: normal !important; /* Mencegah bentrok dengan font-weight bawaan */
}

/* 3. TAHAPAN */
.text-source-type {
    font-family: 'FontTipisKustom', sans-serif !important;
}

/* 4. IDR */
.text-currency-val {
    font-family: 'FontBoldKustom', sans-serif !important;
}

/* 5. Tombol Lanjut (semua tombol yang menggunakan gaya ini) */
.btn-disabled,
.btn-active-blue {
    font-family: 'FontSedangKustom', sans-serif !important;
}
/* =========================================
   STYLE TAMBAHAN: TOMBOL PENGATURAN TEKS
   ========================================= */
.btn-outline-blue {
    background-color: transparent;
    color: #005eb8;
    width: 100%;
    border: 2px solid #005eb8;
    padding: 14px;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}
.btn-outline-blue:active {
    background-color: rgba(0, 94, 184, 0.1);
}
#customFailureText:focus {
    border-color: #005eb8 !important;
}
/* =========================================
   OVERRIDE: MODERN GLOSSY & POPUP ANIMATION
   ========================================= */

/* 1. ANIMASI POPUP MEMBAL (SPRING EFFECT) & BLUR */
.custom-alert-overlay {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background-color: rgba(13, 56, 102, 0.45) !important; 
}
.custom-alert-box {
    transform: scale(0.8) translateY(20px) !important;
    opacity: 0;
    /* Efek membal ala iOS */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important; 
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
    background: linear-gradient(145deg, #ffffff, #f8faff) !important;
}
.custom-alert-overlay.active .custom-alert-box {
    transform: scale(1) translateY(0) !important;
    opacity: 1;
}

/* 2. GLOSSY EFFECT UNTUK INPUT & TEXTAREA POPUP */
#customFailureText,
#customDefaultName {
    background: rgba(240, 245, 250, 0.8) !important;
    border: 1px solid rgba(0, 94, 184, 0.15) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
}
#customFailureText:focus,
#customDefaultName:focus {
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.15), inset 0 2px 4px rgba(0,0,0,0.02) !important;
    border-color: #0072ff !important;
}

/* 3. TOMBOL POPUP MODERN */
#textSettingOverlay .btn-alert-action {
    background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.25), inset 0 2px 0 rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 14px !important;
}
#textSettingOverlay .btn-alert-action:nth-child(2) {
    background: #f0f4f8 !important; /* Tombol Default */
    color: #d90000 !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.5) !important;
    border: 1px solid #e2e8f0 !important;
}

/* 4. PERCANTIK HALAMAN PENGATURAN SISTEM (KOLOM INPUT) */
#page-setup .floating-input-group {
    background: rgba(245, 248, 252, 0.8);
    border-radius: 14px;
    padding: 6px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 94, 184, 0.08);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.01);
}
#page-setup .floating-input-group:focus-within {
    background: #ffffff;
    border-color: rgba(0, 114, 255, 0.3);
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.08);
    transform: translateY(-2px);
}
#page-setup .input-underline {
    border-bottom: none !important; /* Garis bawah dihapus jadi modern rounded */
    padding-top: 20px;
    padding-bottom: 6px;
}
#page-setup .floating-label-text {
    top: 18px;
    left: 16px;
}
#page-setup .input-underline:focus ~ .floating-label-text,
#page-setup .input-underline:not(:placeholder-shown) ~ .floating-label-text {
    top: 6px;
    left: 16px;
    font-size: 11px;
    color: #0072ff;
}

/* 5. TOMBOL SETUP GLOSSY */
#page-setup .btn-active-blue {
    background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
    box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3), inset 0 2px 0 rgba(255,255,255,0.2) !important;
    border: none !important;
    border-radius: 16px !important;
    margin-top: 10px;
}
#page-setup .btn-active-blue:active {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(0, 114, 255, 0.2) !important;
}

#page-setup .btn-outline-blue {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1.5px solid #0072ff !important;
    color: #0072ff !important;
    box-shadow: 0 6px 15px rgba(0, 114, 255, 0.08) !important;
    border-radius: 16px !important;
}
#page-setup .btn-outline-blue:active {
    background: #f0f8ff !important;
    transform: scale(0.97);
}
/* =========================================
   OVERRIDE: ANIMASI POPUP EFEK BALON (MENGEMBANG)
   ========================================= */

.custom-alert-box {
    /* Memulai dari ukuran 10% (sangat kecil) tanpa pergeseran atas/bawah */
    transform: scale(0.1) !important; 
    opacity: 0 !important;
    
    /* Titik pusat membesarnya popup (dari tengah) */
    transform-origin: center center !important; 
    
    /* Efek transisi membal (spring) yang menyerupai balon ditiup */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important; 
}

.custom-alert-overlay.active .custom-alert-box {
    /* Membesar hingga ukuran 100% (normal) */
    transform: scale(1) !important; 
    opacity: 1 !important;
}

.custom-alert-overlay {
    /* Membuat latar belakang abu transparan muncul sedikit lebih cepat dan mulus */
    transition: opacity 0.3s ease !important;
}
/* =========================================
   OVERRIDE: STYLE DISCLAIMER BOX
   ========================================= */
.disclaimer-box {
    margin-top: 40px; /* Jarak dari tombol di atasnya */
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(240, 245, 250, 0.7);
    border: 1px dashed rgba(0, 94, 184, 0.3);
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.6;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
.disclaimer-box b {
    color: #0d3866;
    font-size: 12px;
}
