* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, Roboto, Helvetica, sans-serif;
}

.login-page {
    background-color: rgba(248, 249, 250, 1);
    /* padding-right: 48px; */
    overflow: hidden;
}

.login-container {
    height: 100vh;
    display: flex;
}

.image-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: normal;
    width: 70%;
    margin-left: 0px;
    position: relative;
}

.bg-login-dr {
    background-image: url('./img/bg-dr-20.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-image {
    width: 100%;
    margin: 0% 0;
    position: absolute;
    left: 0;
    bottom: 0;
}

.form-column {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: normal;
    width: 30%;
}

.login-form-container {
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 1);
    align-self: stretch;
    width: 100%;
    height: 100%;
    position: relative;
}

.header-accent {
    background-color: rgba(204, 25, 76, 1);
    display: flex;
    flex-shrink: 0;
    height: 20px;
    border-radius: 20px 20px 0 0;
}

.form-content {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1em 24px;
    flex-direction: column;
    align-items: stretch;
    margin-top: 5rem;
}

.form-title {
    color: rgba(51, 51, 51, 1);
    font-size: 20px;
    font-weight: 700;
    align-self: start;
}

.form-subtitle {
    color: rgba(51, 51, 51, 1);
    font-size: 14px;
    font-weight: 400;
}

.email-input {
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.25);
    border-style: solid;
    border-width: 1px;
    display: flex;
    margin-top: 33px;
    /* margin-left: 12px; */
    width: 100%;
    padding: 18px 26px;
    flex-direction: column;
    align-items: start;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(51, 51, 51, 1);
    font-weight: 400;
    justify-content: center;
}

.input-field {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.input-field input,
.input-field input:focus {
    border: 0px solid;
    outline: none;
}

.input-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 24px;
    flex-shrink: 0;
}

.password-input {
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.25);
    border-style: solid;
    border-width: 1px;
    display: flex;
    margin-top: 16px;
    /* margin-left: 12px; */
    width: 100%;
    padding: 18px 26px;
    flex-direction: column;
    align-items: start;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(51, 51, 51, 1);
    font-weight: 400;
    justify-content: center;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
}

.checkbox {
    border-radius: 4px;
    background-color: rgba(217, 217, 217, 1);
    display: flex;
    width: 23px;
    flex-shrink: 0;
    height: 23px;
    cursor: pointer;
}

.login-button {
    border-radius: 10px;
    background-color: rgba(204, 25, 76, 1);
    display: flex;
    margin-top: 10px;
    padding: 10px 10px;
    flex-direction: column;
    align-items: center;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    justify-content: center;
    border: none;
    cursor: pointer;
    width: 65%;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.login-button:disabled {
    background-color: rgba(204, 25, 76, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.login-text {
    border-radius: 0px;
    width: 37px;
}

.portal-button {
    border-radius: 10px;
    background-color: rgba(255, 220, 231, 1);
    border-color: rgba(204, 25, 76, 1);
    border-style: solid;
    border-width: 1px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(204, 25, 76, 1);
    font-weight: 500;
    line-height: 1;
    justify-content: center;
    cursor: pointer;
}

.portal-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 24px;
    align-self: stretch;
    margin-top: auto;
    margin-bottom: auto;
    flex-shrink: 0;
}

.portal-text {
    align-self: stretch;
    margin-top: auto;
    margin-bottom: auto;
}

.ph {
    padding: 0 2%;
}
.noborder {
    border: 0px solid;
}

.nomargin {
    margin: 0 !important;
}

.w-100 {
    width: 100%;
}

.input-form {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(0, 0, 0, 0.25);
    border-style: solid;
    border-width: 1px;
    display: flex;
    margin-top: 12px;
    /* margin-left: 12px; */
    width: 100%;
    padding: 14px 10px;
    flex-direction: column;
    align-items: start;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    color: rgba(51, 51, 51, 1);
    font-weight: 400;
    justify-content: center;
}

.mt-1 {
    margin-top: 1% !important;
}
.mt-2 {
    margin-top: 2% !important;
}
.mt-3 {
    margin-top: 3% !important;
}
.mt-13 {
    margin-top: 13% !important;
}

.mb-1 {
    margin-bottom: 1% !important;
}
.mb-2 {
    margin-bottom: 2% !important;
}
.mb-3 {
    margin-bottom: 3% !important;
}
.mb-20 {
    margin-bottom: 20% !important;
}
.mb-35 {
    margin-bottom: 35% !important;
}
.h-4rem {
    height: 4rem !important;
}

.footer-login-form {
    position: relative;
}
.portal-link {
    text-decoration: none;
}
/*  ------------------ responsive ---------------  */
@media screen and (max-width: 1250px) {
    /* login */
    .login-form-container {
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 1);
        align-self: stretch;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .form-content {
        display: flex;
        width: 100%;
        padding: 1em 24px;
        flex-direction: column;
        align-items: stretch;
        margin-top: 5rem;
    }
    .input-form {
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 1);
        border-color: rgba(0, 0, 0, 0.25);
        border-style: solid;
        border-width: 1px;
        display: flex;
        margin-top: 12px;
        width: 100%;
        padding: 14px 10px;
        flex-direction: column;
        align-items: start;
        font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 14px;
        color: rgba(51, 51, 51, 1);
        font-weight: 400;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        margin: 0% 0;
    }

    .form-title {
        color: rgba(51, 51, 51, 1);
        font-size: 18px;
        font-weight: 700;
        align-self: start;
    }

    .form-subtitle {
        color: rgba(51, 51, 51, 1);
        font-size: 12px;
        font-weight: 400;
    }
    /* end login */
}

@media screen and (max-width: 991px) {
    .login-page {
        padding-right: 0px;
    }

    .login-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .image-column {
        width: 100%;
        display: none;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 0px;
    }

    .form-column {
        width: 100%;
        background-image: url('./img/bg-mobile-dr20.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin: 0%;
        height: 100%;
    }

    .login-form-container {
        max-width: 100%;
        margin: 100% 0%;
    }

    .header-accent {
        max-width: 100%;
    }

    .form-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .email-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .password-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .remember-me {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-button {
        margin-right: 8px;
        margin-left: 0px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-button {
        margin-top: 40px;
    }

    .ph {
        padding: 0 30%;
    }

    .login-button {
        border-radius: 30px;
        background-color: rgba(204, 25, 76, 1);
        display: flex;
        margin-top: 16px;
        /* margin-left: 12px; */
        padding: 10px 26px;
        flex-direction: column;
        align-items: center;
        font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 14px;
        color: rgba(255, 255, 255, 1);
        font-weight: 500;
        justify-content: center;
        border: none;
        cursor: pointer;
        width: 100%;
    }

    .form-content {
        display: flex;
        width: 100%;
        padding: 1em 24px;
        flex-direction: column;
        align-items: stretch;
        margin-top: 4rem;
    }

    .login-form-container {
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 1);
        align-self: stretch;
        width: 100%;
        height: auto;
        position: relative;
    }

    .footer-login-form {
        position: relative;
        top: 0%;
    }
}

@media screen and (max-width: 640px) {
    .login-page {
        padding-right: 0px;
    }

    .login-container {
        flex-direction: unset;
        align-items: stretch;
        gap: 0px;
    }

    .image-column {
        width: 100%;
        display: none;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 0px;
    }

    .form-column {
        width: 100%;
        background-image: url('./img/bg-mobile-dr20.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin: 0%;
    }

    .login-form-container {
        max-width: 100%;
        margin: 40% 0%;
    }

    .header-accent {
        max-width: 100%;
    }

    .form-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .email-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .password-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .remember-me {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-button {
        margin-right: 8px;
        margin-left: 0px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-button {
        margin-top: 40px;
    }

    .ph {
        padding: 0 20%;
    }

    .login-button {
        border-radius: 30px;
        background-color: rgba(204, 25, 76, 1);
        display: flex;
        margin-top: 16px;
        /* margin-left: 12px; */
        padding: 10px 26px;
        flex-direction: column;
        align-items: center;
        font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 14px;
        color: rgba(255, 255, 255, 1);
        font-weight: 500;
        justify-content: center;
        border: none;
        cursor: pointer;
        width: 100%;
    }
}

@media screen and (max-width: 320px) {
    .login-page {
        padding-right: 0px;
    }

    .login-container {
        flex-direction: unset;
        align-items: stretch;
        gap: 0px;
    }

    .image-column {
        width: 100%;
        display: none;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 0px;
    }

    .form-column {
        width: 100%;
        background-image: url('./img/bg-mobile-dr20.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin: 0%;
    }

    .login-form-container {
        max-width: 100%;
        margin: 40% 0%;
    }

    .header-accent {
        max-width: 100%;
    }

    .form-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .email-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .password-input {
        margin-right: 8px;
        margin-left: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .remember-me {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-button {
        margin-right: 8px;
        margin-left: 0px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .portal-button {
        margin-top: 40px;
    }

    .ph {
        padding: 0 20%;
    }

    .login-button {
        border-radius: 30px;
        background-color: rgba(204, 25, 76, 1);
        display: flex;
        margin-top: 16px;
        /* margin-left: 12px; */
        padding: 10px 26px;
        flex-direction: column;
        align-items: center;
        font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 14px;
        color: rgba(255, 255, 255, 1);
        font-weight: 500;
        justify-content: center;
        border: none;
        cursor: pointer;
        width: 100%;
    }

    input-form {
        border-radius: 30px;
        background-color: rgba(255, 255, 255, 1);
        border-color: rgba(0, 0, 0, 0.25);
        border-style: solid;
        border-width: 1px;
        display: flex;
        margin-top: 12px;
        /* margin-left: 12px; */
        width: 100%;
        padding: 14px 10px;
        flex-direction: column;
        align-items: start;
        font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
        font-size: 14px;
        color: rgba(51, 51, 51, 1);
        font-weight: 400;
        justify-content: center;
    }
}
/*  ------------------ end responsive ---------------  */
.icon {
    width: 16px;
    height: 16px;
    background-color: #d9d9d9;
    background-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-position: center;
    background-position: center;
    background-size: contain;
    mask-size: cover;
}
.icon.user {
    mask-image: url('img/icon-user.svg');
    -webkit-mask-image: url('img/icon-user.svg');
}
.icon.key {
    mask-image: url('img/icon-key.svg');
    -webkit-mask-image: url('img/icon-key.svg');
}
.icon.captcha {
    mask-image: url('img/icon-captcha.svg');
    -webkit-mask-image: url('img/icon-captcha.svg');
}

.hover {
    border: 1px solid #cc194c;
}

.hover .icon {
    background-color: #cc194c !important;
}

.captcha {
    margin-right: auto;
    margin-left: auto;
}

.g-recaptcha {
    transform-origin: left top;
  -webkit-transform-origin: left top;
}

.forgot-password a {
    color: #cc194c;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1%;
}

.btn-auth {
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-family: Poppins, -apple-system, Roboto, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.15s ease;
    text-decoration: none;
    min-height: 44px;
}

.btn-auth:active {
    transform: translateY(1px);
}

.btn-auth:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.btn-reset {
    background-color: rgba(204, 25, 76, 1);
}

.btn-reset:hover:not(:disabled) {
    background-color: rgba(185, 21, 69, 1);
}

.btn-reset:disabled {
    background-color: rgba(204, 25, 76, 0.65);
    box-shadow: none;
}

.btn-logout {
    background-color: #ffffff;                     /* white */
    color: #d7263d;                                /* main red */
    border: 1px solid #f1c8ce;                     /* soft red border */
}

.btn-logout:hover:not(:disabled) {
    background-color: #ffe6ea;                     /* light soft red */
    color: #c21f33;                                /* slightly darker red */
    border-color: #eaa3ad;
}

.btn-logout:active {
    transform: translateY(1px);
    background-color: #ffd6dd;
}

.btn-logout:disabled {
    background-color: #f8f8f8;
    color: #b7b7b7;
    border-color: #e0e0e0;
    box-shadow: none;
    cursor: not-allowed;
}

.toggle-password {
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    margin-left: 6px;
    padding: 0 4px;
}

.toggle-password:focus {
    outline: none;
}

.strength-meter {
    width: 100%;
    background-color: #e2e8f0;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.strength-meter .progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.strength-text {
    display: block;
    margin-top: 6px;
    font-weight: 600;
}

.strength-weak {
    color: #ef4444;
}

.strength-fair {
    color: #f59e0b;
}

.strength-good {
    color: #3b82f6;
}

.strength-strong {
    color: #059669;
}

.progress-bar.bg-danger {
    background-color: #ef4444;
}

.progress-bar.bg-warning {
    background-color: #f59e0b;
}

.progress-bar.bg-info {
    background-color: #3b82f6;
}

.progress-bar.bg-success {
    background-color: #22c55e;
}

.password-guidelines {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #1f2937;
    font-size: 14px;
    margin-top: 16px;
    padding: 12px 16px;
}

.password-guidelines p {
    font-weight: 600;
    margin-bottom: 8px;
}

.password-guidelines ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.password-guidelines .guideline-item {
    align-items: center;
    color: #6b7280;
    display: flex;
    font-weight: 500;
    gap: 8px;
    margin-bottom: 6px;
}

.password-guidelines .guideline-item:last-child {
    margin-bottom: 0;
}

.password-guidelines .status-icon {
    color: #d1d5db;
}

.password-guidelines .guideline-item.valid {
    color: #059669;
}

.password-guidelines .guideline-item.valid .status-icon {
    color: #059669;
}

.invalid-feedback {
    color: #ef4444;
    display: block;
    font-size: 13px;
    margin-top: 6px;
}

.is-invalid {
    border: 1px solid #ef4444 !important;
}
