/* 69Bravo Fire Base login */

html,
body.bravo-login {
    min-height: 100%;
    margin: 0;
    color: #f8fafc;
    background: #05070b;
}

body.bravo-login {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.bravo-login .bravo-login-scenic {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 28%) 0%, rgb(0 0 0 / 12%) 42%, rgb(0 0 0 / 18%) 100%),
        url('/Image2000/webportal/69bravo/assets/images/login-bg.jpg') center center / cover no-repeat;
}

body.bravo-login #server_name {
    display: none !important;
}

body.bravo-login .login-shell {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100vh;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 40px;
}

body.bravo-login .login-block {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 28px 28px 30px;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 28px;
    background: rgb(18 22 28 / 72%);
    box-shadow: 0 24px 60px rgb(0 0 0 / 45%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.bravo-login .bravo-login-brand-art {
    position: absolute;
    top: 50%;
    left: -270px;
    z-index: 0;
    width: 220px;
    max-height: 68vh;
    object-fit: contain;
    transform: translateY(-50%);
    pointer-events: none;
    filter: drop-shadow(0 10px 24px rgb(0 0 0 / 45%));
}

body.bravo-login .bravo-login-crest {
    display: flex;
    justify-content: center;
    margin: -70px 0 20px;
}

body.bravo-login .bravo-login-crest img {
    display: block;
    width: min(220px, 70%);
    height: auto;
}

body.bravo-login .error-block {
    min-height: 0;
    margin: 0 0 8px;
    text-align: left;
}

body.bravo-login .error-block h4,
body.bravo-login .error-block .alert {
    margin: 0 0 8px;
    font-size: 14px;
}

body.bravo-login .panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 18px;
    text-align: left;
}

body.bravo-login .panel-title {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

body.bravo-login .panel-body {
    text-align: left;
}

body.bravo-login .form-signin {
    margin: 0;
}

body.bravo-login fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

body.bravo-login .bravo-field {
    position: relative;
    margin: 0 0 14px;
}

body.bravo-login .bravo-field-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: #cbd5e1;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

body.bravo-login .bravo-field .form-control {
    height: 48px;
    padding: 10px 44px 10px 42px;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 10px;
    background: rgb(20 24 30 / 88%);
    color: #f8fafc;
    box-shadow: none;
}

body.bravo-login .bravo-field .form-control::placeholder {
    color: #94a3b8;
}

body.bravo-login .bravo-field .form-control:focus {
    border-color: #f87171;
    background: rgb(12 16 22 / 92%);
    color: #fff;
    box-shadow: 0 0 0 3px rgb(220 38 38 / 22%);
}

body.bravo-login .toggle-password {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    transform: translateY(-50%);
}

body.bravo-login .toggle-password:hover,
body.bravo-login .toggle-password:focus {
    color: #fff;
    outline: 0;
}

body.bravo-login .bravo-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
}

body.bravo-login .bravo-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #f1f5f9;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

body.bravo-login .bravo-shortcut input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #dc2626;
}

body.bravo-login .login-btn {
    display: inline-flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgb(220 38 38 / 35%);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

body.bravo-login .login-btn:hover,
body.bravo-login .login-btn:focus {
    background: #ef4444;
    color: #fff;
    outline: 0;
}

body.bravo-login .login-btn:active {
    transform: translateY(1px);
}

body.bravo-login .login-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

body.bravo-login .step-hidden {
    display: none !important;
}

body.bravo-login .otp-label {
    margin: 0 0 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

body.bravo-login .otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

body.bravo-login .otp-digit {
    width: 100%;
    height: 48px;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 10px;
    background: rgb(20 24 30 / 88%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

body.bravo-login .otp-digit:focus {
    border-color: #f87171;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(220 38 38 / 22%);
}

body.bravo-login .otp-resend-row {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 14px;
}

body.bravo-login .otp-resend-link {
    border: 0;
    background: transparent;
    color: #93c5fd;
    font-size: 13px;
}

body.bravo-login .otp-resend-link:disabled {
    color: #64748b;
    cursor: not-allowed;
}

body.bravo-login .btn-outline-light {
    border-color: rgb(255 255 255 / 35%);
    color: #fff;
}

body.bravo-login .btn-outline-light:hover {
    background: rgb(255 255 255 / 10%);
    color: #fff;
}

@media (max-width: 980px) {
    body.bravo-login .login-shell {
        align-items: flex-start;
        justify-content: center;
        padding: 200px 16px 36px;
    }

    body.bravo-login .bravo-login-brand-art {
        top: -160px;
        left: 50%;
        width: min(160px, 42vw);
        max-height: 110px;
        transform: translateX(-50%);
    }

    body.bravo-login .bravo-login-crest {
        margin-top: -64px;
        margin-bottom: 16px;
    }
}

@media (max-width: 520px) {
    body.bravo-login .login-shell {
        padding-top: 160px;
    }

    body.bravo-login .bravo-login-brand-art {
        top: -150px;
        width: min(140px, 48vw);
        max-height: 96px;
    }

    body.bravo-login .login-block {
        padding: 22px 18px 24px;
        border-radius: 22px;
    }

    body.bravo-login .bravo-login-crest {
        margin-top: -56px;
    }

    body.bravo-login .panel-title {
        font-size: 20px;
    }

    body.bravo-login .bravo-login-crest img {
        width: min(180px, 72%);
    }
}
