/* Shared styling for the login / forgot-password screens */
html, body { height: 100%; margin: 0; }
body.auth-body {
    background: linear-gradient(135deg, #1f2937 0%, #0d6efd 55%, #0a58ca 100%);
    background-attachment: fixed;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}
.login-wrapper {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-box {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.28);
    padding: 40px 35px 30px 35px;
    animation: authFadeInUp .45s ease;
}
@keyframes authFadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.login-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 18px rgba(13,110,253,0.35);
}
.login-box h2 {
    text-align: center;
    font-size: 21px;
    margin: 0 0 4px 0;
    color: #222;
    font-weight: 700;
    letter-spacing: .3px;
}
.login-box .company-sub {
    text-align: center;
    color: #8a8a8a;
    font-size: 13px;
    margin-bottom: 26px;
}
.login-box .form-group label {
    font-weight: 600;
    font-size: 12.5px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.login-box .form-control {
    border-radius: 7px;
    height: 42px;
    box-shadow: none;
    border: 1px solid #dfe3e8;
    font-size: 14px;
}
.login-box .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}
.login-box .input-group .input-group-addon {
    background: #fff;
    border: 1px solid #dfe3e8;
    border-left: none;
    cursor: pointer;
    color: #888;
}
.login-box .input-group .input-group-addon:hover { color: #0d6efd; }
.btn-login {
    border-radius: 7px;
    height: 44px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    color: #fff;
    margin-top: 6px;
    transition: opacity .15s ease, transform .15s ease;
}
.btn-login:hover, .btn-login:focus {
    opacity: .92;
    color: #fff;
    transform: translateY(-1px);
}
.forgot-link {
    display: block;
    text-align: right;
    font-size: 12.5px;
    margin: -6px 0 16px 0;
    color: #0d6efd;
    text-decoration: none;
}
.forgot-link:hover { text-decoration: underline; }
.back-to-login {
    display: block;
    text-align: center;
    font-size: 13px;
    margin-top: 18px;
    color: #0d6efd;
    text-decoration: none;
}
.back-to-login:hover { text-decoration: underline; }
.auth-helptext {
    font-size: 12.5px;
    color: #8a8a8a;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}
.login-box .alert { font-size: 13px; border-radius: 7px; }
