main > .container,
.ra-container {
    padding: 80px 15px 24px;
}

.ra-navbar {
    background: #0C4FB5;
}

.ra-footer {
    background: #0a3d8c;
}

.btn-primary,
.bg-primary {
    background-color: #0C4FB5 !important;
    border-color: #0C4FB5 !important;
}

.btn-danger {
    background-color: #F53A3A !important;
    border-color: #F53A3A !important;
}

.badge-trust-0 { background: #6c757d; }
.badge-trust-1 { background: #2CCDE3; color: #043; }
.badge-trust-2 { background: #0C8A7D; }
.badge-trust-3 { background: #0C4FB5; }
.badge-trust-4 { background: #0a3d8c; }

.ra-card {
    border: 0;
    box-shadow: 0 8px 24px rgba(12, 79, 181, 0.08);
}

.ra-panic-note {
    border-left: 4px solid #F53A3A;
    background: #fff5f5;
}

.login-wrap {
    max-width: 420px;
    margin: 40px auto;
}

.ra-logo,
.navbar-brand img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 8px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ra-logo-login-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(12, 79, 181, 0.25);
}

.ra-logo-login,
.ra-logo-login-wrap img {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    object-fit: cover;
    display: block;
}

.ra-logo-dash {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 16px;
    object-fit: cover;
}

.panic-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #F53A3A;
    color: #fff;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(245, 58, 58, 0.35);
}

.invalid-feedback,
.invalid-tooltip,
.help-block,
.help-block-error,
.has-error .help-block,
.field-error,
.form-text.text-danger,
.is-invalid ~ .invalid-feedback {
    color: #F53A3A !important;
    font-weight: 600;
}

.form-control.is-invalid,
.form-select.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.has-error .form-control {
    border-color: #F53A3A !important;
}

.alert-danger {
    color: #7a1212;
    background: #fff1f1;
    border-color: #F53A3A;
}

.ra-role-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.ra-role-banner {
    background: #eef5ff;
    border: 1px solid #c5daf8;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
}
