/* Import font Google (Poppins) biar lebih modern dan rapi */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    color: #333;
}

/* Container utama di tengah */
.container {
    max-width: 600px; /* Sengaja dibatasi biar di desktop tetap rapi kayak tampilan mobile */
}

h2 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Styling Card biar kelihatan elegan dan mengambang */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    background-color: #ffffff;
}

.card-body {
    padding: 30px;
}

/* Styling untuk teks Total Dana */
.card-body h5 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #34495e;
    margin-bottom: 15px;
    text-align: center;
}

#totalDanaText {
    color: #27ae60; /* Warna hijau untuk kesan uang/sukses */
    font-weight: 700;
    font-size: 1.3rem;
}

/* Custom Progress Bar biar lebih smooth */
.progress {
    height: 25px;
    border-radius: 50px;
    background-color: #e9ecef;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress-bar {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    transition: width 1s ease-in-out;
    font-weight: bold;
    line-height: 25px;
}

/* Styling Form Inputs biar gampang di-tap di HP */
.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #555;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Checkbox persetujuan */
.form-check-label {
    font-size: 0.9rem;
    color: #e74c3c; /* Warna merah biar jadi perhatian utama user */
    font-weight: 500;
}

/* Tombol Aksi Utama */
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.1s;
    margin-top: 15px;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Styling gambar Captcha */
img[alt="captcha"] {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 3px;
    background-color: #fff;
}