/* ///////////// Custom CSS ///////////////////////// */
.login-row {
    --login-input-height: 3rem;
    background: linear-gradient(130deg, #259dd0, #a8e1f3, #67d6f1);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 4rem);
    box-sizing: border-box;
    flex-flow: row nowrap;
}

.login-row .login-form {
    width: 100%;
    max-width: 450px;
    padding: 0;
    margin: 0 auto;
}

.login-inputs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

.login-inputs .form-label {
    line-height: 1.5rem;
    margin-bottom: 0.5rem;
}

.login-inputs input {
    height: var(--login-input-height);
    min-height: var(--login-input-height);
    padding: 0.5rem 2.5rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #007C92;
    background-color: #f0f8fa;
    color: #003744;
}

.login-inputs .input-group-prepend {
    display: flex;
}

.login-inputs .toggle-password-button {
    background-color: transparent;
    border-radius: 0 0.375rem 0.375rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: var(--login-input-height);
    width: 40px;
    border-top-left-radius: 0%;
    border-bottom-left-radius: 0%;
    border-left: none;
}

.toggle-password-icon {
    color: #00A3B3;
    font-size: 1rem;
}

.input-group-text {
    border-color: #007C92;
    background-color: #e8f5f7;
}

.login-inputs .toggle-password-button:focus-visible {
    outline: 2px solid #007C92;
    outline-offset: 2px;
}

.mobile-login-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.input-group {
    display: flex;
}

.btn-grad {
    background-image: linear-gradient(to right, #007C92 0%, #00A3B3 51%, #007C92 100%);
    color: white;
    box-shadow: 0 0 20px #a1d6e6;
}

.btn-grad:hover {
    background-position: right center;
    color: #fff;
}

.title {
    background-image: linear-gradient(160deg, #007C92 0%, #00A3B3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-box p {
    color: #003744;
    font-size: 1.2rem;
    text-align: center;
    margin: 0.5rem 0;
}

.login-box img {
    margin-bottom: 1rem;
    max-height: 20em;
    object-fit: contain;
    width: 100%;
    overflow: hidden;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.gradient-button:hover {
    background-position: right center;
    color: #fff;
}

.gradient-button img {
    height: 12px;
    margin-left: 10px;
}

.login-footer span {
    font-size: 0.8rem;
    color: #007C92;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 2%;
    right: 5%;
}

.form-control {
    border-color: #007C92;
    background-color: #f0f8fa;
    color: #003744;
}

.login-inputs svg {
    position: absolute;
    z-index: 10;
    top: calc(2rem + var(--login-input-height) / 2);
    transform: translateY(-50%);
    left: 10px;
    height: 14px;
    color: #00A3B3;
}

@media(max-width: 991.98px) {
    .login-row {
        flex-direction: column;
        padding: 2rem 1rem;
        justify-content: center;
        align-items: center;
    }

    .mobile-login-image {
        display: none;
    }

    .login-footer span {
        right: 3%;
        bottom: 1%;
    }
}

@media(max-width: 767px) {
    .login-footer span {
        right: 6%;
        font-size: 0.7rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .login-box img {
        max-height: 15em;
    }
}

input:-webkit-autofill {
    background-color: white !important;
    color: black !important;
    transition: background-color 5000s ease-in-out 0s;
}

input.form-control:focus {
    border-color: #00A3B3;
}
