﻿/* =========================================
   LOGIN BLOCK
========================================= */
html, body {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

* {
    box-sizing: border-box;
}
.login-page {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background-image: url('/images/logo.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.login-section {
    position: fixed;
    top: 50%;
    right: 5.5%;
    transform: translateY(-50%);
    width: 34%;
    max-width: 480px;
    right: 5%;
    z-index: 10;
}

.login-card {
    width: 100%;
    box-sizing: border-box;
    padding: 25px 45px 20px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    box-shadow: 0 20px 55px rgba(26, 74, 120, 0.16), 0 6px 20px rgba(26, 74, 120, 0.08);
    backdrop-filter: blur(10px);
}

/* Welcome */
.welcome-text {
    text-align: center;
    margin-bottom: 22px;
}

    .welcome-text h2 {
        margin: 0;
        font-size: 30px;
        line-height: 1.2;
        font-weight: 800;
        color: #164b8b;
    }

    .welcome-text p {
        margin: 5px 0 0;
        font-size: 14px;
        color: #687b91;
    }

/* Form */
.form-group {
    margin-bottom: 14px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-size: 13px;
        font-weight: 600;
        color: #40566d;
    }

/* Input */
.login-input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 48px;
    border: 1px solid #d7e3ef;
    border-radius: 11px;
    background: #f8fbfe;
    font-size: 14px;
    outline: none;
}

.input-icon {
    left: 15px;
}

/* Remember / Forgot */
.login-options {
    margin: 5px 2px 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

/* Sign In */
.login-button {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 11px;
    background: linear-gradient( 90deg, #0b8fe3, #0878d1 );
    color: white;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 125, 210, 0.22);
}

/* Role login */
.role-login {
    margin-top: 20px;
}

.role-login-title {
    margin-bottom: 12px;
    font-size: 11px;
}

.role-options {
    gap: 28px;
}

.role-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.role-item {
    font-size: 11px;
}

/* Footer */
.login-footer {
    margin-top: 17px;
    padding-top: 12px;
    font-size: 10px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: #8295a8;
    cursor: pointer;
    border-radius: 6px;
}

    .password-toggle:hover {
        color: #1687c7;
        background: rgba(22, 135, 199, 0.06);
    }