/* ==================================================
   Login — App-style screen
   Brand: teal #012A2B / #023436 + mint #00C48A→#39E8A0
   ================================================== */

/* Dedicated app screen: hide web chrome */
body.login_app_page .site_header,
body.login_app_page .site_footer,
body.login_app_page .backtotop {
    display: none;
}

/* On the dedicated login screen, hide header actions (login/scan are redundant) */
body.login_app_page .mobile-app-actions {
    display: none;
}

.login-app {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 196, 138, 0.10), transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(57, 232, 160, 0.08), transparent 45%),
        #ffffff;
    padding: 48px 16px;
}

.login-app::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.login-app_card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

/* ── Logo ── */
.login-app_logo {
    text-align: center;
    margin-bottom: 26px;
}

.login-app_logo img {
    width: 84px;
    height: 76px;
    object-fit: contain;
    margin-bottom: 10px;
}

.login-app_logo .app_name {
    display: block;
    color: #012A2B;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.login-app_logo .app_tag {
    display: block;
    color: #6B6B6B;
    font-size: 13px;
    margin-top: 4px;
}

/* ── Form Card ── */
.login-app_form {
    background: #ffffff;
    border-radius: 26px;
    padding: 30px 26px 22px;
    border: 1px solid #E4EEEF;
    box-shadow: 0 24px 60px -22px rgba(1, 42, 43, 0.18);
}

.login-app_form .form_heading {
    text-align: center;
    margin-bottom: 24px;
}

.login-app_form .form_heading h2 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 700;
    color: #012A2B;
}

.login-app_form .form_heading p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6B6B6B;
}

/* ── Inputs ── */
.login-app_form .ap-group {
    margin-bottom: 18px;
}

.login-app_form .ap-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #023436;
}

.login-app_form .ap-input-wrap {
    position: relative;
}

.login-app_form .ap-input-wrap > i {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #9fb0b1;
    font-size: 16px;
    pointer-events: none;
}

.login-app_form .ap-input {
    width: 100%;
    height: 56px;
    padding: 0 46px 0 16px;
    font-size: 15px;
    color: #012A2B;
    border: 1.5px solid #E4EEEF;
    border-radius: 16px;
    background: #F4F9F9;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-app_form .ap-input::placeholder {
    color: #8C9B9C;
}

.login-app_form .ap-input:focus {
    border-color: #39E8A0;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 196, 138, 0.12);
}

/* ── Error alert ── */
.login-app_form .ap-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FDEBEC;
    color: #C0392B;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 18px;
}

/* ── Submit ── */
.login-app_form .ap-submit {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 16px;
    color: #02211f;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(160deg, #00C48A 0%, #39E8A0 100%);
    box-shadow: 0 14px 28px -10px rgba(0, 196, 138, 0.55);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.login-app_form .ap-submit:active {
    transform: scale(0.98);
}

.login-app_form .ap-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: #8B9B9F;
}

.login-app_form .ap-hint span {
    color: #023436;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .login-app {
        min-height: calc(100vh - 66px);
    }
}