/* Tambahkan di awal file */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif; /* Set default font untuk semua elemen */
}

/* Font Montserrat hanya untuk h2 */
.card-body h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
}
    
.bg-success h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
}

/* Font Poppins untuk semua elemen lainnya */
body, p, span, small, label, input, button, h5, .lead {
    font-family: 'Poppins', sans-serif !important;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.card-columns .card {
    margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
    .card-columns {
        column-count: 3;
        column-gap: 1.25rem;
    }
    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

.text-muted {
    color: #9faecb !important;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

/* Background login */
.login-bg {
    background-image: url('../image/logo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 600px;
    position: relative;
    min-height: 100vh;
    width: 100vw; /* Pastikan tidak melebihi lebar layar */
    overflow-x: hidden; /* Sembunyikan scrollbar horizontal */
}

.login-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.login-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%; /* Batasi lebar maksimal */
}

/* Card Group */
.card-group {
    display: flex;
    flex-wrap: wrap; /* Izinkan wrap jika layar kecil */
    margin: 0;
}

.card {
    margin: 0;
    border: none;
    border-radius: 0;
}

/* Untuk layar kecil */
@media (max-width: 768px) {
    .card-group {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
        border-radius: 0.375rem;
        margin-bottom: 1rem;
    }
    
    .d-md-down-none {
        display: none !important;
    }
}