/* =========================================================
   ABSENSIKU
   AUTHENTICATION CSS — FINAL RESPONSIVE
   File: auth/css/auth.css

   Fokus:
   - Desktop tetap seperti desain sebelumnya
   - Mobile lebih fleksibel
   - Tidak horizontal overflow
   - Bisa scroll vertikal
   - Role Admin/Guru/Siswa nyaman disentuh
   - Input dan tombol tidak keluar layar
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0;

    font-family: "Inter", Arial, Helvetica, sans-serif;

    background: #f1f5f9;
    color: #0f172a;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overflow-x: hidden;
    overflow-y: auto;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   AUTH PAGE
========================================================= */

.auth-page {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #f8fafc 45%,
            #eef2ff 100%
        );

    overflow-x: hidden;
    overflow-y: auto;
}


/* =========================================================
   BACKGROUND
========================================================= */

.auth-background {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}

.auth-bg-gradient {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(37, 99, 235, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(79, 70, 229, 0.12),
            transparent 32%
        );
}

.auth-bg-shape {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);

    opacity: 0.7;

    pointer-events: none;
}


/* =========================================================
   BACKGROUND SHAPES
========================================================= */

.shape-1 {
    width: 420px;
    height: 420px;

    top: -180px;
    left: -130px;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.14),
            transparent 68%
        );
}

.shape-2 {
    width: 500px;
    height: 500px;

    right: -220px;
    bottom: -230px;

    background:
        radial-gradient(
            circle,
            rgba(99, 102, 241, 0.13),
            transparent 68%
        );
}

.shape-3 {
    width: 250px;
    height: 250px;

    right: 8%;
    top: 10%;

    background:
        radial-gradient(
            circle,
            rgba(14, 165, 233, 0.08),
            transparent 70%
        );
}


/* =========================================================
   GRID
========================================================= */

.auth-grid {
    position: absolute;
    inset: 0;

    opacity: 0.25;

    background-image:
        linear-gradient(
            rgba(148, 163, 184, 0.10) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(148, 163, 184, 0.10) 1px,
            transparent 1px
        );

    background-size: 40px 40px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 75%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 75%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.auth-container {
    position: relative;

    z-index: 5;

    width: 100%;
    max-width: 500px;

    min-width: 0;

    margin: 0 auto;
}


/* =========================================================
   CARD
========================================================= */

.auth-card {
    width: 100%;
    max-width: 100%;

    padding: 38px 40px 30px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(226, 232, 240, 0.9);

    border-radius: 24px;

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.10),
        0 8px 25px rgba(15, 23, 42, 0.06);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    overflow: visible;
}


/* =========================================================
   LOGO
========================================================= */

.auth-logo {
    display: flex;

    align-items: center;

    gap: 13px;

    width: fit-content;
    max-width: 100%;

    margin: 0 auto 28px;

    color: #0f172a;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.auth-logo:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.auth-logo-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: #ffffff;

    font-size: 23px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.28);
}

.auth-logo-text {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.auth-logo-text strong {
    font-size: 20px;
    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.4px;

    color: #0f172a;
}

.auth-logo-text span {
    font-size: 11px;
    line-height: 1.2;

    font-weight: 500;

    color: #64748b;
}


/* =========================================================
   HEADER
========================================================= */

.auth-header {
    text-align: center;

    margin-bottom: 27px;
}

.auth-header h1 {
    margin: 0 0 9px;

    font-size: 29px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.7px;

    color: #0f172a;
}

.auth-header p {
    max-width: 380px;

    margin: 0 auto;

    font-size: 14px;
    line-height: 1.65;

    color: #64748b;
}


/* =========================================================
   ALERT
========================================================= */

.auth-alert {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    width: 100%;

    margin-bottom: 20px;

    padding: 13px 14px;

    border-radius: 12px;

    font-size: 13px;
    line-height: 1.5;

    font-weight: 500;
}

.alert-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    padding-top: 1px;

    font-size: 16px;
}

.alert-content {
    min-width: 0;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.auth-alert-error {
    color: #991b1b;

    background: #fef2f2;

    border: 1px solid #fecaca;
}

.auth-alert-success {
    color: #166534;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}


/* =========================================================
   FORM
========================================================= */

.auth-form {
    width: 100%;
    min-width: 0;
}

.form-group {
    width: 100%;

    margin-bottom: 19px;
}

.form-label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 700;

    color: #334155;
}


/* =========================================================
   ROLE SELECTOR
========================================================= */

.role-selector {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 9px;

    width: 100%;
}

.role-option {
    position: relative;

    min-width: 0;
    min-height: 82px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 11px 7px;

    cursor: pointer;

    color: #64748b;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 13px;

    font: inherit;

    -webkit-tap-highlight-color: transparent;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.role-option:hover {
    color: #2563eb;

    background: #eff6ff;

    border-color: #bfdbfe;

    transform: translateY(-1px);
}

.role-option.active {
    color: #2563eb;

    background: #eff6ff;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}

.role-option:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.20);
    outline-offset: 2px;
}

.role-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 14px;

    color: #64748b;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    transition: all 0.2s ease;
}

.role-option.active .role-icon {
    color: #ffffff;

    background: #2563eb;

    border-color: #2563eb;
}

.role-name {
    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 12px;
    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   INPUT
========================================================= */

.input-wrapper {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    min-width: 0;
}

.input-icon {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    width: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #94a3b8;

    font-size: 14px;

    pointer-events: none;
}

.form-input {
    display: block;

    width: 100%;
    min-width: 0;

    height: 50px;

    padding: 0 15px 0 45px;

    color: #0f172a;

    background: #ffffff;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    outline: none;

    font-size: 14px;
    font-weight: 500;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.form-input:hover {
    border-color: #94a3b8;
}

.form-input:focus {
    border-color: #2563eb;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* =========================================================
   PASSWORD
========================================================= */

.password-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;

    right: 6px;
    top: 50%;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    color: #94a3b8;

    background: transparent;

    border-radius: 9px;

    font-size: 14px;

    -webkit-tap-highlight-color: transparent;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.password-toggle:hover {
    color: #2563eb;

    background: #eff6ff;
}

.password-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}


/* =========================================================
   FORM OPTIONS
========================================================= */

.form-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 2px;
    margin-bottom: 21px;

    min-width: 0;
}

.remember-me {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    user-select: none;

    font-size: 12px;
    font-weight: 500;

    color: #64748b;

    min-width: 0;
}

.remember-me input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.custom-checkbox {
    position: relative;

    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #cbd5e1;

    border-radius: 5px;

    background: #ffffff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.remember-me input:checked + .custom-checkbox {
    background: #2563eb;

    border-color: #2563eb;
}

.remember-me input:checked + .custom-checkbox::after {
    content: "";

    width: 7px;
    height: 4px;

    margin-top: -2px;

    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;

    transform: rotate(-45deg);
}

.remember-me input:focus-visible + .custom-checkbox {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.remember-text {
    white-space: nowrap;
}

.forgot-password {
    flex: 0 0 auto;

    font-size: 12px;

    font-weight: 700;

    color: #2563eb;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #1d4ed8;

    text-decoration: underline;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    position: relative;

    width: 100%;
    min-width: 0;

    min-height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 18px;

    cursor: pointer;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #4f46e5 100%
        );

    border-radius: 12px;

    box-shadow:
        0 10px 22px rgba(37, 99, 235, 0.23);

    font-size: 14px;
    font-weight: 700;

    -webkit-tap-highlight-color: transparent;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        opacity 0.2s ease;
}

.auth-submit:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 14px 27px rgba(37, 99, 235, 0.28);

    filter: brightness(1.02);
}

.auth-submit:active:not(:disabled) {
    transform: translateY(0);

    box-shadow:
        0 7px 15px rgba(37, 99, 235, 0.20);
}

.auth-submit:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.25);
    outline-offset: 3px;
}

.auth-submit:disabled {
    cursor: not-allowed;

    opacity: 0.75;
}

.button-text,
.button-loading {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;
}

.button-loading[hidden],
.button-text[hidden] {
    display: none !important;
}


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 25px 0 17px;

    color: #94a3b8;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    position: absolute;

    top: 50%;

    width: calc(50% - 25px);

    height: 1px;

    background: #e2e8f0;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    position: relative;

    z-index: 1;

    padding: 0 12px;

    font-size: 11px;

    font-weight: 600;

    background: #ffffff;
}


/* =========================================================
   REGISTER ADMIN
========================================================= */

.register-admin {
    width: 100%;
    min-width: 0;

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 14px;

    color: #334155;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.register-admin:hover {
    color: #2563eb;

    background: #eff6ff;

    border-color: #bfdbfe;

    transform: translateY(-1px);
}

.register-icon {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #2563eb;

    background: #dbeafe;

    border-radius: 8px;

    font-size: 12px;
}

.register-arrow {
    margin-left: auto;

    flex: 0 0 auto;

    font-size: 11px;

    color: #94a3b8;

    transition: transform 0.2s ease;
}

.register-admin:hover .register-arrow {
    transform: translateX(3px);

    color: #2563eb;
}


/* =========================================================
   BACK HOME
========================================================= */

.back-home {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin-top: 18px;

    font-size: 12px;
    font-weight: 600;

    color: #64748b;

    text-align: center;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.back-home:hover {
    color: #2563eb;

    transform: translateX(-1px);
}

.back-home i {
    flex: 0 0 auto;

    font-size: 11px;
}


/* =========================================================
   FOOTER
========================================================= */

.auth-footer {
    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #f1f5f9;

    text-align: center;
}

.auth-footer p {
    margin: 0;

    color: #94a3b8;

    font-size: 10px;
    line-height: 1.5;

    font-weight: 500;
}


/* =========================================================
   AUTOFILL
========================================================= */

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a;

    -webkit-box-shadow:
        0 0 0 1000px #ffffff inset;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    color: #ffffff;

    background: #2563eb;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 700px) {

    .auth-page {
        align-items: flex-start;

        justify-content: center;

        min-height: 100vh;

        padding:
            30px
            16px
            40px;
    }

    .auth-container {
        width: 100%;
        max-width: 500px;
    }

    .auth-card {
        width: 100%;

        padding: 32px 28px 28px;

        border-radius: 21px;
    }

    .auth-logo {
        margin-bottom: 25px;
    }

    .auth-header h1 {
        font-size: 27px;
    }

    .auth-header p {
        font-size: 13.5px;
    }

    .role-option {
        min-height: 78px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    html {
        overflow-x: hidden;
    }

    body {
        min-height: 100vh;

        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-page {
        display: block;

        width: 100%;
        min-height: 100vh;

        padding:
            20px
            12px
            35px;

        overflow-x: hidden;
        overflow-y: auto;
    }

    .auth-background {
        position: fixed;
    }

    .auth-container {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;
    }

    .auth-card {
        width: 100%;
        max-width: 100%;

        padding:
            28px
            22px
            25px;

        border-radius: 19px;
    }

    .auth-logo {
        gap: 10px;

        margin-bottom: 24px;
    }

    .auth-logo-icon {
        width: 46px;
        height: 46px;

        flex-basis: 46px;

        border-radius: 13px;

        font-size: 20px;
    }

    .auth-logo-text strong {
        font-size: 19px;
    }

    .auth-logo-text span {
        font-size: 10px;
    }

    .auth-header {
        margin-bottom: 23px;
    }

    .auth-header h1 {
        font-size: 25px;

        letter-spacing: -0.5px;
    }

    .auth-header p {
        font-size: 13px;

        line-height: 1.6;
    }

    .auth-alert {
        padding: 12px;

        font-size: 12px;
    }

    .role-selector {
        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 7px;
    }

    .role-option {
        min-height: 76px;

        padding: 9px 4px;

        border-radius: 11px;
    }

    .role-icon {
        width: 29px;
        height: 29px;

        flex-basis: 29px;

        font-size: 12px;
    }

    .role-name {
        font-size: 11px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        height: 49px;

        font-size: 13px;
    }

    .input-icon {
        left: 14px;
    }

    .password-toggle {
        width: 38px;
        height: 38px;
    }

    .form-options {
        gap: 10px;
    }

    .remember-me,
    .forgot-password {
        font-size: 11px;
    }

    .auth-submit {
        min-height: 49px;

        font-size: 13px;
    }

    .register-admin {
        min-height: 47px;

        padding-left: 11px;
        padding-right: 11px;

        font-size: 12px;
    }

    .register-icon {
        width: 29px;
        height: 29px;

        flex-basis: 29px;
    }

    .back-home {
        font-size: 11px;
    }

    .auth-footer {
        margin-top: 22px;

        padding-top: 15px;
    }
}


/* =========================================================
   SMALL MOBILE
   <= 430px
========================================================= */

@media (max-width: 430px) {

    .auth-page {
        padding:
            15px
            9px
            30px;
    }

    .auth-card {
        padding:
            24px
            16px
            21px;

        border-radius: 17px;

        box-shadow:
            0 15px 35px rgba(15, 23, 42, 0.08);
    }

    .auth-logo {
        gap: 9px;

        margin-bottom: 21px;
    }

    .auth-logo-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        border-radius: 12px;

        font-size: 19px;
    }

    .auth-logo-text strong {
        font-size: 18px;
    }

    .auth-logo-text span {
        font-size: 9px;
    }

    .auth-header {
        margin-bottom: 21px;
    }

    .auth-header h1 {
        font-size: 23px;
    }

    .auth-header p {
        font-size: 12px;
    }

    .role-selector {
        gap: 5px;
    }

    .role-option {
        min-height: 72px;

        padding:
            8px
            3px;

        border-radius: 10px;
    }

    .role-icon {
        width: 27px;
        height: 27px;

        flex-basis: 27px;

        border-radius: 8px;

        font-size: 11px;
    }

    .role-name {
        font-size: 10px;
    }

    .form-group {
        margin-bottom: 17px;
    }

    .form-input {
        height: 48px;

        padding-left: 42px;

        font-size: 12px;

        border-radius: 11px;
    }

    .input-icon {
        left: 13px;

        font-size: 13px;
    }

    .password-input {
        padding-right: 46px;
    }

    .form-options {
        align-items: center;

        gap: 7px;
    }

    .remember-me,
    .forgot-password {
        font-size: 10px;
    }

    .custom-checkbox {
        width: 16px;
        height: 16px;

        flex-basis: 16px;
    }

    .auth-submit {
        min-height: 48px;

        border-radius: 11px;

        font-size: 12px;
    }

    .auth-divider {
        margin-top: 22px;
        margin-bottom: 15px;
    }

    .register-admin {
        min-height: 45px;

        border-radius: 10px;

        font-size: 11px;
    }

    .register-icon {
        width: 27px;
        height: 27px;

        flex-basis: 27px;

        font-size: 11px;
    }

    .back-home {
        margin-top: 15px;

        font-size: 10px;
    }

    .auth-footer p {
        font-size: 9px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   <= 350px
========================================================= */

@media (max-width: 350px) {

    .auth-page {
        padding:
            10px
            6px
            25px;
    }

    .auth-card {
        padding:
            21px
            12px
            18px;

        border-radius: 15px;
    }

    .auth-logo {
        gap: 8px;
    }

    .auth-logo-icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;
    }

    .auth-logo-text strong {
        font-size: 16px;
    }

    .auth-logo-text span {
        font-size: 8px;
    }

    .auth-header h1 {
        font-size: 21px;
    }

    .auth-header p {
        font-size: 11px;
    }

    .role-selector {
        gap: 4px;
    }

    .role-option {
        min-height: 68px;

        padding:
            7px
            2px;
    }

    .role-icon {
        width: 25px;
        height: 25px;

        flex-basis: 25px;

        font-size: 10px;
    }

    .role-name {
        font-size: 9px;
    }

    .form-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 9px;
    }

    .forgot-password {
        align-self: flex-start;
    }

    .auth-submit {
        min-height: 46px;
    }

    .register-admin {
        padding-left: 9px;
        padding-right: 9px;
    }
}


/* =========================================================
   LANDSCAPE MOBILE
========================================================= */

@media (max-height: 600px) and (orientation: landscape) {

    .auth-page {
        align-items: flex-start;

        padding:
            15px
            12px
            25px;
    }

    .auth-card {
        margin: 0 auto;

        padding:
            22px
            25px
            22px;
    }

    .auth-logo {
        margin-bottom: 15px;
    }

    .auth-header {
        margin-bottom: 15px;
    }

    .auth-header h1 {
        font-size: 23px;
    }

    .form-group {
        margin-bottom: 13px;
    }

    .role-option {
        min-height: 65px;
    }

    .auth-footer {
        margin-top: 15px;
    }
}


/* =========================================================
   TOUCH DEVICE
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .role-option {
        min-height: 78px;
    }

    .auth-submit {
        min-height: 50px;
    }

    .password-toggle {
        width: 42px;
        height: 42px;
    }

    .register-admin {
        min-height: 49px;
    }

    .back-home {
        min-height: 40px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}