* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background-color: #f6f7fc;
    color: #2f2f2f;
}

p {
    color: #66615b;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Roboto", sans-serif;
}

a {
    color: #888;
    text-decoration: underline;
    transition: 0.3s all ease;
}

a:hover {
    text-decoration: none !important;
}

.auth-login-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.login-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login-bg {
    position: relative;
    width: 50%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
}

.login-content {
    display: flex;
    align-items: center;
    width: 50%;
    min-height: 100vh;
    background: #f6f7fc;
}

.login-card {
    width: 100%;
    padding: 3rem 0;
}

.login-brand {
    margin-bottom: 2rem;
}

.login-logo {
    width: 100%;
    max-width: 230px;
    height: auto;
}

.login-header {
    margin-bottom: 1.5rem;
}

.login-title {
    margin-bottom: 1rem;
    color: #2f2f2f;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.login-title strong {
    font-weight: 700;
}

.login-subtitle {
    max-width: 440px;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #343434;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-control {
    height: 54px;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #2f2f2f;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.form-control:active,
.form-control:focus {
    outline: none;
    border: none;
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(224, 8, 134, 0.12);
}

.form-control::placeholder {
    color: #999;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .btn-password-toggle {
    height: 54px;
    min-width: 58px;
    padding: 0 1rem;
    border: none;
    border-left: 1px solid #ececec;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #fff;
    color: #17a2b8;
    font-size: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.input-group-append .btn-password-toggle:hover {
    background: #f8f9fa;
    color: #117a8b;
}

.input-group-append .btn-password-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.18);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.form-check {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.form-check-input {
    margin-top: 0;
}

.form-check-label {
    color: #66615b;
    font-size: 0.9rem;
    cursor: pointer;
}

.login-version {
    color: #888;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-login {
    width: 50%;
    min-width: 210px;
    height: 54px;
    border: 1px solid #e00886;
    border-radius: 4px;
    background-color: #e00886;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s all ease;
}

.btn-login:hover,
.btn-login:focus {
    background-color: #c80778;
    border-color: #c80778;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(224, 8, 134, 0.18);
}

.btn-login:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.alert {
    border-radius: 4px;
    font-size: 0.9rem;
}

.invalid-feedback {
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

@media (max-width: 991.98px) {
    .login-wrapper {
        display: block;
    }

    .login-content {
        width: 100%;
        min-height: 100vh;
    }

    .login-card {
        padding: 2.5rem 0;
    }

    .login-logo {
        max-width: 200px;
    }

    .login-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .login-card {
        padding: 2rem 0;
    }

    .login-brand {
        margin-bottom: 1.5rem;
    }

    .login-logo {
        max-width: 180px;
    }

    .login-title {
        font-size: 1.55rem;
    }

    .login-subtitle {
        font-size: 0.95rem;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-login {
        width: 100%;
        min-width: 100%;
    }
}
