:root {
    --primary-color: #0056b3; /* Biru Profesional */
    --secondary-color: #f8f9fa;
    --accent-color: #0dcaf0;
    --corp-text-muted: #64748b; /* Teks Secondary */
}

body {
    font-family: "Inter", sans-serif;
    background-color: #eef2f5;
    background-image: linear-gradient(135deg, #eef2f5 0%, #e6e9f0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Logo Area */
.brand-logo {
    width: auto;
    height: 100px;
    background-color: transparent;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Main Card Styling */
.main-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header-custom {
    background: #ffffff;
    padding: 25px 30px 10px;
    border-bottom: none;
}

.card-header-custom h5 {
    font-weight: 700;
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.card-body-custom {
    padding: 20px 30px 40px;
}

/* Form Styling */
.form-control-lg {
    border-radius: 50px;
    padding-left: 25px;
    font-size: 1rem;
    border: 2px solid #e1e5eb;
    background-color: #fbfbfb;
}

.form-control-lg:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.btn-check-bill {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    background: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-check-bill:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

/* Partners Section */
.partner-section-title {
    text-align: center;
    font-weight: 600;
    color: #2f363b;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.partner-section-title::before,
.partner-section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #dee2e6;
}
.partner-section-title::before {
    left: 0;
}
.partner-section-title::after {
    right: 0;
}

.partner-card {
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    background: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.img-partner {
    max-width: 100%; /* Ukuran seragam */
    height: auto;
    max-height: 600px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: filter 0.3s;
}

.partner-card:hover .img-partner {
    filter: grayscale(0%);
}

.partner-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 20px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

footer a {
    color: var(--corp-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
}

/*result*/
/* Helper for centered content */
.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.invoice-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
    margin-top: 0px;
    margin-bottom: 10px;
}

.invoice-header {
    background: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 20px;
    text-align: center;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.info-group {
    margin-bottom: 15px;
}

.info-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.meter-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px dashed #ced4da;
}

.total-pay-section {
    background-color: #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #0056b3;
}

.btn-payment {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s;
    width: 100%;
    margin-bottom: 10px;
}

.btn-payment:hover {
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-header-custom {
    background-color: var(--primary-color);
    color: white;
}
.list-group-item h6 {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/*css result*/

/* Header Modal & Invoice Background */
.bg-primary-custom {
    background-color: var(
        --primary-color
    ) !important; /* Mengambil dari style.css global */
    color: white;
}

/* Meter Box Varian Sukses (Hijau) */
.meter-box-success {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
}

/* Perbaikan list group di dalam modal agar rapi */
.modal-list-item {
    border: 0;
    padding-left: 0.5rem;
}

/*css va*/

/* Background biru utama untuk header modal & kartu */
.bg-header-blue {
    background: var(--primary-color) !important;
}

/* Styling teks nomor VA agar lebar hurufnya renggang */
.va-number-text {
    letter-spacing: 2px;
}

/*css qris*/

/* Background Header Biru */
.bg-header-blue {
    background: var(--primary-color) !important;
}

/* Strip garis biru di kartu utama */
.card-strip-blue {
    height: 6px;
    background: var(--primary-color);
    width: 100%;
}

/* Strip garis merah di kartu error */
.card-strip-red {
    height: 6px;
    background: var(--primary-color);
    width: 100%;
}

/* Container untuk halaman error agar di tengah */
.error-page-container {
    min-height: 70vh;
}

/* Icon error besar */
.error-icon-lg {
    font-size: 4rem;
}
