html,
body {
    background-color: #FAFAFA;
    height: 100%;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.card {
    border-radius: 12px !important;
    border: 1px solid #DEDEDE !important;
    width: 100%;
    max-width: 450px;
    min-height: 452px;
    box-sizing: border-box;
}

.card-body {
    margin: 20px 40px !important;
}

.card-get-started {
    background-color: white;
    border-radius: 12px !important;
    border: 1px solid #DEDEDE !important;
    width: 100%;
    max-width: 450px;
    min-height: 400px;
    box-sizing: border-box;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    --_c: no-repeat radial-gradient(farthest-side, #25b09b 92%, #0000);
    background:
        var(--_c) top,
        var(--_c) left,
        var(--_c) right,
        var(--_c) bottom;
    background-size: 12px 12px;
    animation: l7 1s infinite;
}

@keyframes l7 {
    to {
        transform: rotate(.5turn)
    }
}

#transparent_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-icon {
    width: 66px;
    height: 58px;
}

.head-title {
    color: #292929;
    font-weight: 600;
    font-size: 23px;
    align-items: center;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #464646;
}

.form-input {
    font-size: 14px;
    height: 44px !important;
    border: 1px solid #DEDEDE !important;
    padding: 12px 16px;
    border-radius: 8px !important;
}

.form-password {
    font-size: 14px;
    max-width: 100%;
    width: 324px;
    height: 44px !important;
    border: 1px solid #DEDEDE !important;
    padding: 12px 16px;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-right: none;
    box-sizing: border-box;
}

.custom-btn-login-sosmed {
    display: flex;
    background: white;
    color: #45494A;
    width: 370px;
    height: 38px;
    border: 1px solid #BDC1C2;
    align-items: center;
    padding: 8px 12px;
    border-radius: 9999px !important;
}

.custom-btn-login-sosmed:hover {
    cursor: pointer;
}

span.icon-sosmed {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
}

span.btn-text {
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    margin-left: 90px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.custom-google-signin {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

.custom-google-signin .g_id_signin_text {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

/* text css */
.text-primary {
    color: #09C3B2 !important;
}

.text-primary:hover {
    color: #067F77 !important;
}

a.text-primary:hover {
    color: #067F77 !important;
}

.btn-link:hover {
    text-decoration: none !important;
}

/* background css */
.bg-primary {
    background-color: #09C3B2 !important;
    color: white !important;
}

.bg-danger {
    background-color: #F06A6A !important;
    color: white !important;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    height: 47px !important;
    border-radius: 9999 !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn-primary {
    background-color: #09C3B2 !important;
    border-color: #09C3B2 !important;
}

.btn-primary:hover:enabled {
    background-color: #29A39E !important;
    border-color: #29A39E !important
}

#or {
    position: relative;
    margin: 10px 0;
}

#or::before,
#or::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    width: 43%;
    background-color: #DEDEDE;
    /* You can change the color as needed */
}

#or::before {
    left: 43%;
    transform: translateX(-100%);
}

#or::after {
    right: 43%;
    transform: translateX(100%);
}

#or a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500
}

#or_email {
    position: relative;
    margin: 10px 0;
}

#or_email::before,
#or_email::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    width: 30%;
    background-color: #DEDEDE;
}

#or_email::before {
    left: 30%;
    transform: translateX(-100%);
}

#or_email::after {
    right: 30%;
    transform: translateX(100%);
}

#or_email a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500
}

.invalid {
    border: 1px solid red !important;
}

.invalid:focus {
    border: 1px solid red !important;
}

#eyes_password {
    border-left: none;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

#eyes_repeat_password {
    border-left: none;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.g-recaptcha {
    width: 100%;
    transform: scale(0.85);
    -webkit-transform: scale(0.85);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#custom-btn-google {
    background-color: black !important
}

.box-alert {
    width: 360px;
    height: 50px;
    background-color: #09C3B2;
    color: white;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.custom-alert-success {
    background-color: #09C3B2 !important;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.custom-alert-failed {
    background-color: #f8d7da !important;
    color: black;
    font-size: 14px !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.fs-10 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.fs-18 {
    font-size: 18px;
}

.fs-20 {
    font-size: 20px;
}

.fw-500 {
    font-weight: 500;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap on smaller screens */
}

.input-group input {
    flex: 1;
    /* Allow the input to take available space */
    max-width: 100%;
    /* Ensure it doesn’t overflow its container */
}

.input-group-append {
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        margin: 15px 20px !important;
    }

    .form-password {
        min-width: 86%;
        /* Full width on smaller devices */
        padding: 10px 12px;
        /* Adjust padding */
    }
}

@media (max-width: 480px) {
    .card-body {
        margin: 10px 15px !important;
    }

    .card {
        max-width: 100%;
        min-height: auto;
    }

    .form-password {
        padding: 8px 10px;
        /* Further reduce padding for mobile devices */
    }
}
