285 lines
5.8 KiB
CSS
285 lines
5.8 KiB
CSS
body {
|
|
background: #fff;
|
|
font-family: 'Poppins', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
zoom: 80%;
|
|
margin-bottom: -40px;
|
|
}
|
|
|
|
.page-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.content {
|
|
flex: 1; /* isi utama ambil ruang sisa */
|
|
}
|
|
|
|
.header-card {
|
|
background: #ff7f11;
|
|
width: 100%;
|
|
margin-bottom: -50px;
|
|
margin-top: -20px;
|
|
padding-top: 20px;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
/* ===== Header ===== */
|
|
.header-box {
|
|
max-width: 550px;
|
|
margin: 20px auto 0;
|
|
color: #fff;
|
|
padding: 0 15px;
|
|
text-align: center;
|
|
}
|
|
.brand-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin-bottom: 40px;
|
|
zoom: 90%;
|
|
}
|
|
.brand-row img {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
border: 3px solid #fff;
|
|
object-fit: cover;
|
|
}
|
|
.brand-row h5 {
|
|
margin: 0;
|
|
}
|
|
.amount {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* ===== Card Utama ===== */
|
|
.payment-card {
|
|
max-width: 550px;
|
|
margin: 0 auto;
|
|
border-radius: 22px 22px 0 0;
|
|
padding: 25px;
|
|
background: #fff;
|
|
min-height: 70vh;
|
|
position: relative;
|
|
}
|
|
|
|
/* ===== Tombol Bayar ===== */
|
|
.btn-orange {
|
|
background: #ff7f11;
|
|
color: #fff;
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
margin: 20px auto 0;
|
|
display: block;
|
|
max-width: 500px;
|
|
}
|
|
.btn-orange:hover {
|
|
background: #e76e0d;
|
|
color: #fff;
|
|
}
|
|
|
|
/* ===== Accordion ===== */
|
|
.accordion-item {
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 12px;
|
|
margin-bottom: 10px;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
|
|
}
|
|
.accordion-button {
|
|
border-radius: 12px !important;
|
|
background: #fff !important;
|
|
color: inherit !important;
|
|
box-shadow: none !important;
|
|
padding: 0.5rem 1rem !important;
|
|
display: flex;
|
|
flex-direction: row; /* ubah ke row */
|
|
justify-content: space-between;
|
|
align-items: flex-start; /* panah sejajar atas */
|
|
text-decoration: none !important;
|
|
}
|
|
.accordion-button:not(.collapsed) {
|
|
background: #fff !important;
|
|
}
|
|
.accordion-button:focus {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.accordion-button .fw-semibold {
|
|
margin-bottom: 0.25rem !important;
|
|
}
|
|
|
|
/* group kiri = title + icons */
|
|
.accordion-button .accordion-left {
|
|
display: flex;
|
|
flex-direction: column; /* tumpuk: nama di atas, icons di bawah */
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.accordion-button .accordion-icons {
|
|
display: inline-flex;
|
|
margin-top: 5px;
|
|
}
|
|
.accordion-button:not(.collapsed) .accordion-icons {
|
|
display: none !important;
|
|
}
|
|
.accordion-body {
|
|
padding: 0.25rem 0 !important;
|
|
}
|
|
|
|
/* Arrow tetap kanan atas */
|
|
.accordion-button::after {
|
|
margin-left: auto;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
|
|
/* ===== List Metode ===== */
|
|
.list-group-item {
|
|
border-color: #dee2e6;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
.list-btn {
|
|
border: none;
|
|
background: none;
|
|
outline: none;
|
|
padding: 8px 0;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.list-btn:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* ===== Metode Terpilih ===== */
|
|
.method-card {
|
|
border: 1px solid #ddd;
|
|
border-radius: 12px;
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
background: #fafafa;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
.method-selected {
|
|
border: 2px solid #ff7f11;
|
|
background: #fff9f4;
|
|
}
|
|
.ubah-btn {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
|
|
/* ===== Detail Tagihan ===== */
|
|
#instruksiBox {
|
|
font-size: 0.95rem;
|
|
border-radius: 12px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
margin-bottom: 6px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.detail-row .label {
|
|
font-weight: 600;
|
|
min-width: 120px; /* kasih lebar minimum biar sejajar */
|
|
}
|
|
|
|
.detail-row .value {
|
|
flex: 1; /* biar ambil sisa ruang */
|
|
text-align: right; /* tetap rata kanan */
|
|
word-break: break-word; /* biar bisa pecah ke bawah kalau panjang */
|
|
white-space: normal; /* izinkan turun ke bawah */
|
|
}
|
|
|
|
.bank-list {
|
|
text-align: left;
|
|
}
|
|
.bank-list .list-group-item {
|
|
border: none;
|
|
/* padding: 12px 0;*/
|
|
}
|
|
.bank-list .pay-method {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: #333;
|
|
gap: 15px;
|
|
}
|
|
|
|
.bank-logo-box {
|
|
width: 60px;
|
|
height: 60px;
|
|
border: 2px solid #ddd;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #fff;
|
|
flex-shrink: 0;
|
|
margin-top: -20px;
|
|
}
|
|
|
|
.bank-logo-box img {
|
|
max-width: 70%;
|
|
max-height: 70%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.bank-name {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
padding-bottom: 5px;
|
|
flex: 1;
|
|
}
|
|
|
|
.accordion-icons {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.bank-icon-box {
|
|
width: 60px;
|
|
height: 40px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: #fff;
|
|
margin-bottom: 5px;
|
|
}
|
|
.bank-icon-box img {
|
|
max-width: 70%;
|
|
max-height: 70%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* ===== Footer Powered ===== */
|
|
.powered {
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
margin-top: 40px;
|
|
}
|
|
.powered img {
|
|
height: 20px;
|
|
margin-left: 5px;
|
|
} |