* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.bga-body {
    margin: 0;
    display: grid;
    place-items: center;
    padding: 28px 16px;
    color: #171717;
    background: #f4f5f7;
    font-family: Arial, Helvetica, sans-serif;
}
.bga-card {
    width: min(100%, 460px);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    box-shadow: 0 18px 55px rgba(20, 25, 35, .13);
}
.bga-logo {
    display: block;
    width: 100%;
    max-height: 210px;
    object-fit: cover;
    background: #f00000;
}
.bga-content { padding: 30px; }
.bga-content h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
}
.bga-intro {
    margin: 0 0 24px;
    color: #646b75;
    font-size: 15px;
    line-height: 1.55;
}
.bga-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #9f1239;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    font-size: 14px;
}
.bga-content label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 17px 0 8px;
    font-size: 14px;
    font-weight: 700;
}
.bga-content label span {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    color: #fff;
    background: #ef1717;
    border-radius: 50%;
    font-size: 12px;
}
.bga-content input[type="password"],
.bga-content input[type="text"] {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 13px;
    color: #171717;
    background: #fff;
    border: 1px solid #cfd4da;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
}
.bga-content input:focus {
    border-color: #ef1717;
    box-shadow: 0 0 0 3px rgba(239, 23, 23, .13);
}
.bga-content button {
    width: 100%;
    min-height: 50px;
    margin-top: 23px;
    color: #fff;
    background: #ef1717;
    border: 0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}
.bga-content button:hover { background: #d91414; }
.bga-note {
    margin: 16px 0 0;
    color: #7a8088;
    font-size: 12px;
    text-align: center;
}
@media (max-width: 520px) {
    body.bga-body { padding: 0; background: #fff; }
    .bga-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
    .bga-content { padding: 25px 20px 34px; }
}
