/* RelayPro Login & Auth Pages
 * Branded styling for login, signup, forgot password, 2FA, and password reset.
 * Same ecosystem structure as CallCheckPro, distinct RelayPro identity.
 * Overrides Frappe's default login.bundle.css where needed.
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* --- Variables (RelayPro indigo palette) --- */
:root {
    --rp-login-primary: #4f46e5;           /* indigo-600 — buttons, links */
    --rp-login-primary-hover: #4338CA;     /* indigo-700 — button hover */
    --rp-login-primary-light: #EEF2FF;     /* indigo-50  — light bg accent */
    --rp-login-primary-glow: rgba(79, 70, 229, 0.15);
    --rp-login-accent: #818CF8;            /* indigo-300 — text accents on dark bg */
    --rp-login-text: #0F1419;              /* deep ink */
    --rp-login-text-muted: #4A4E56;        /* secondary text */
    --rp-login-text-light: #7C8089;        /* muted text */
    --rp-login-border: #DDE0E4;            /* light border */
    --rp-login-bg: #F7F7F8;               /* surface-light */
    --rp-login-card: #FFFFFF;              /* surface-white */
    --rp-login-input-bg: #FAFAFA;          /* input bg */
    --rp-login-input-border: #DDE0E4;
    --rp-login-input-focus: #4f46e5;
    --rp-login-danger: #E74C3C;            /* red-500 */
    --rp-login-success: #10B981;           /* green-500 */
    --rp-login-radius: 14px;
    --rp-login-radius-sm: 8px;
}

/* --- Base Reset --- */
body.rp-login-page {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--rp-login-bg);
    color: var(--rp-login-text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.rp-login-page .web-footer,
body.rp-login-page .navbar,
body.rp-login-page .page-header {
    display: none !important;
}

/* --- Split Layout --- */
.rp-login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left branded panel — dark indigo-tinted */
.rp-login-brand {
    flex: 0 0 42%;
    background: #0A0A1A;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

/* Grid lines — subtle indigo-tinted grid */
.rp-login-brand-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black, transparent);
    pointer-events: none;
    z-index: 0;
}

/* Glow orb — indigo, top-right */
.rp-login-brand::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: rp-glow-pulse 6s ease-in-out infinite;
}

/* Second glow, bottom-left — lighter indigo */
.rp-login-brand::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: rp-glow-pulse 8s ease-in-out 3s infinite;
}

.rp-brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 380px;
}

.rp-brand-logo {
    margin-bottom: 32px;
}

.rp-brand-logo svg {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.rp-brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    line-height: 1.1;
}

.rp-brand-name .rp-brand-accent {
    color: #818CF8;
}

.rp-brand-tagline {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 48px;
}

.rp-brand-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.rp-brand-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.rp-brand-feature-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Right form panel */
.rp-login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 40px 0;
    background: linear-gradient(180deg, #FAFAFA 0%, #F7F7F8 100%);
    position: relative;
    min-height: 0;
}

/* Subtle dot pattern on form side */
.rp-login-form-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
}

.rp-login-form-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Form Card Container --- */
.rp-login-card {
    background: var(--rp-login-card);
    border: 1px solid var(--rp-login-border);
    border-radius: var(--rp-login-radius);
    padding: 32px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 6px 24px rgba(0, 0, 0, 0.03);
}

/* --- Section Headers --- */
.rp-login-header {
    margin-bottom: 32px;
}

.rp-login-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--rp-login-text);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.rp-login-header p {
    font-size: 15px;
    color: var(--rp-login-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* --- Form Inputs --- */
.rp-form-group {
    margin-bottom: 20px;
}

.rp-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--rp-login-text);
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.rp-input-wrapper {
    position: relative;
}

.rp-input-wrapper .rp-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rp-login-text-light);
    pointer-events: none;
    transition: color 0.2s;
}

.rp-input-wrapper input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 1.5px solid var(--rp-login-input-border);
    border-radius: var(--rp-login-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--rp-login-text);
    background: var(--rp-login-input-bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.rp-input-wrapper input::placeholder {
    color: var(--rp-login-text-light);
}

.rp-input-wrapper input:focus {
    border-color: var(--rp-login-input-focus);
    box-shadow: 0 0 0 3px var(--rp-login-primary-glow);
    background: var(--rp-login-card);
}

.rp-input-wrapper input:focus ~ .rp-input-icon {
    color: var(--rp-login-primary);
}

.rp-toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--rp-login-text-muted);
    cursor: pointer;
    user-select: none;
    transition: color 0.15s;
    z-index: 2;
    background: none;
    border: none;
    padding: 2px 4px;
}

.rp-toggle-password:hover {
    color: var(--rp-login-primary);
}

/* --- Buttons --- */
.rp-btn-login {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: var(--rp-login-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rp-btn-primary {
    background: var(--rp-login-primary);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

.rp-btn-primary:hover {
    background: var(--rp-login-primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.rp-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
}

.rp-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rp-btn-secondary {
    background: var(--rp-login-card);
    color: var(--rp-login-text);
    border: 1.5px solid var(--rp-login-border);
}

.rp-btn-secondary:hover {
    background: var(--rp-login-primary-light);
    border-color: var(--rp-login-primary);
    color: var(--rp-login-primary);
}

/* --- Links --- */
.rp-forgot-link {
    display: block;
    text-align: right;
    margin-top: -12px;
    margin-bottom: 20px;
}

.rp-forgot-link a {
    font-size: 13px;
    font-weight: 500;
    color: var(--rp-login-primary);
    text-decoration: none;
    transition: color 0.15s;
}

.rp-forgot-link a:hover {
    color: var(--rp-login-primary-hover);
    text-decoration: underline;
}

.rp-signup-link {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--rp-login-text-muted);
}

.rp-signup-link a {
    color: var(--rp-login-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.rp-signup-link a:hover {
    color: var(--rp-login-primary-hover);
    text-decoration: underline;
}

.rp-back-link {
    text-align: center;
    margin-top: 16px;
}

.rp-back-link a {
    font-size: 13px;
    font-weight: 500;
    color: var(--rp-login-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.rp-back-link a:hover {
    color: var(--rp-login-primary);
}

/* --- Divider --- */
.rp-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 16px;
}

.rp-divider::before,
.rp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rp-login-border);
}

.rp-divider span {
    font-size: 12px;
    font-weight: 500;
    color: var(--rp-login-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Social Login --- */
.rp-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rp-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid var(--rp-login-border);
    border-radius: var(--rp-login-radius-sm);
    background: var(--rp-login-card);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--rp-login-text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.rp-social-btn:hover {
    background: var(--rp-login-primary-light);
    border-color: var(--rp-login-primary);
    color: var(--rp-login-primary);
}

.rp-social-btn img {
    width: 18px;
    height: 18px;
}

/* --- Error / Invalid State --- */
.rp-login-form-container.invalid-login,
.login-content.page-card.invalid-login {
    animation: rp-shake 0.4s ease;
}

.rp-form-group.invalid input {
    border-color: var(--rp-login-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* --- Password Strength (update-password) --- */
.password-strength-indicator {
    float: right;
    padding: 15px;
    margin-top: -42px;
    margin-right: 36px;
}

/* --- 2FA / OTP Verification --- */
#twofactor_div {
    text-align: center;
}

#twofactor_div .page-card-head {
    border: none;
    padding: 0;
    margin: 0 0 16px 0;
}

#twofactor_div .page-card-head .indicator {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--rp-login-text);
}

#twofactor_div .page-card-head .indicator::before {
    display: none;
}

#twofactor_div #otp_div {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--rp-login-text-muted);
    line-height: 1.5;
}

#twofactor_div #login_token {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--rp-login-input-border);
    border-radius: var(--rp-login-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-align: center;
    color: var(--rp-login-text);
    background: var(--rp-login-input-bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

#twofactor_div #login_token:focus {
    border-color: var(--rp-login-input-focus);
    box-shadow: 0 0 0 3px var(--rp-login-primary-glow);
}

#twofactor_div #verify_token {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--rp-login-radius-sm);
    background: var(--rp-login-primary);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#twofactor_div #verify_token:hover {
    background: var(--rp-login-primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* --- Floating Nodes --- */
.rp-brand-nodes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rp-brand-node {
    position: absolute;
    border-radius: 50%;
    animation: rp-float ease-in-out infinite;
}

.rp-brand-node:nth-child(1) { width: 5px; height: 5px; background: rgba(129, 140, 248, 0.4); top: 15%; left: 20%; animation-duration: 7s; }
.rp-brand-node:nth-child(2) { width: 3px; height: 3px; background: rgba(129, 140, 248, 0.25); top: 25%; right: 18%; animation-duration: 9s; animation-delay: 1s; }
.rp-brand-node:nth-child(3) { width: 6px; height: 6px; background: rgba(129, 140, 248, 0.35); bottom: 30%; left: 12%; animation-duration: 8s; animation-delay: 2s; }
.rp-brand-node:nth-child(4) { width: 4px; height: 4px; background: rgba(79, 70, 229, 0.3); top: 60%; right: 25%; animation-duration: 6s; animation-delay: 0.5s; }
.rp-brand-node:nth-child(5) { width: 8px; height: 8px; background: rgba(129, 140, 248, 0.2); bottom: 18%; right: 15%; animation-duration: 10s; animation-delay: 3s; }
.rp-brand-node:nth-child(6) { width: 4px; height: 4px; background: rgba(79, 70, 229, 0.35); top: 40%; left: 30%; animation-duration: 7.5s; animation-delay: 1.5s; }

.rp-brand-nodes svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- Pulse Rings --- */
.rp-pulse-rings {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-pulse-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(129, 140, 248, 0.5);
    border-radius: 50%;
    animation: rp-pulse 3.5s ease-out infinite;
}

.rp-pulse-ring:nth-child(2) { animation-delay: 1.17s; }
.rp-pulse-ring:nth-child(3) { animation-delay: 2.33s; }

.rp-pulse-center {
    position: relative;
    width: 8px;
    height: 8px;
    background: rgba(129, 140, 248, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.4);
}

/* --- Animations --- */
@keyframes rp-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

@keyframes rp-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rp-glow-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes rp-float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(6px, -10px); }
    50% { transform: translate(-4px, -6px); }
    75% { transform: translate(8px, 4px); }
}

@keyframes rp-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3.5); opacity: 0; }
}

.rp-login-form-container {
    animation: rp-fadeIn 0.4s ease;
}

.rp-brand-content {
    animation: rp-fadeIn 0.6s ease;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .rp-login-wrapper {
        flex-direction: column;
        min-height: 100vh;
    }

    .rp-login-brand {
        flex: none;
        padding: 40px 32px 32px;
    }

    .rp-brand-features {
        display: none;
    }

    .rp-brand-tagline {
        margin-bottom: 0;
    }

    .rp-brand-nodes {
        display: none;
    }

    .rp-pulse-rings {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .rp-login-form-panel {
        flex: 1;
        padding: 32px 24px 0;
    }

    .rp-login-form-container {
        flex: 1;
    }

    .rp-login-footer {
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .rp-login-brand {
        padding: 24px 20px 20px;
    }

    .rp-brand-name {
        font-size: 28px;
    }

    .rp-brand-tagline {
        font-size: 14px;
    }

    .rp-pulse-rings {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .rp-login-form-panel {
        padding: 24px 16px 0;
    }

    .rp-login-header h2 {
        font-size: 22px;
    }

    .rp-login-card {
        padding: 24px 20px;
        border-radius: 10px;
    }

    .rp-login-header {
        margin-bottom: 24px;
    }

    .rp-login-footer {
        padding: 12px 16px;
    }

    .rp-footer-main {
        font-size: 11px;
    }

    .rp-footer-links {
        font-size: 10px;
    }

    .rp-footer-sep {
        margin: 0 4px;
    }
}

/* --- Override Frappe btn-primary on login pages --- */
body.rp-login-page .rp-btn-login.btn-primary {
    background: var(--rp-login-primary);
    color: #ffffff;
    border: none;
    box-shadow: 0 1px 3px rgba(79, 70, 229, 0.3);
    margin-top: 0;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: var(--rp-login-radius-sm);
}

body.rp-login-page .rp-btn-login.btn-primary:hover {
    background: var(--rp-login-primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

/* --- Override Frappe defaults --- */
body.rp-login-page .page-card {
    border: none;
    box-shadow: none;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

body.rp-login-page .page-card-head {
    border: none;
    padding: 0;
    margin: 0;
}

body.rp-login-page .page-card-body {
    padding: 0;
}

body.rp-login-page .page-card-actions {
    padding: 0;
}

body.rp-login-page .hero-and-content {
    background: transparent;
}

body.rp-login-page .container {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Hide 2FA verify section by default (Frappe CSS only hides forgot/signup/email-login) */
body.rp-login-page .for-verify {
    display: none;
}

/* Style Frappe's signup form template inputs */
body.rp-login-page .for-signup .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--rp-login-input-border);
    border-radius: var(--rp-login-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--rp-login-text);
    background: var(--rp-login-input-bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin-bottom: 12px;
}

body.rp-login-page .for-signup .form-control:focus {
    border-color: var(--rp-login-input-focus);
    box-shadow: 0 0 0 3px var(--rp-login-primary-glow);
}

body.rp-login-page .for-signup .btn-primary {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: var(--rp-login-radius-sm);
    background: var(--rp-login-primary);
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

body.rp-login-page .for-signup .btn-primary:hover {
    background: var(--rp-login-primary-hover);
}

/* Hide Frappe's default elements */
body.rp-login-page .sign-up-message,
body.rp-login-page .login-divider,
body.rp-login-page .social-logins,
body.rp-login-page .web-footer {
    display: none !important;
}

/* Trust badges (left brand panel) */
.rp-brand-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rp-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.rp-trust-badge svg {
    color: rgba(129, 140, 248, 0.5);
}

.rp-trust-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
}

/* Footer text — flex child, pushed to bottom naturally */
.rp-login-footer {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--rp-login-text-light);
    line-height: 1.6;
    padding: 20px 0 16px;
    flex-shrink: 0;
}

.rp-footer-main {
    margin-bottom: 4px;
}

.rp-footer-links {
    font-size: 11px;
}

.rp-footer-links a {
    color: var(--rp-login-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.rp-footer-links a:hover {
    color: var(--rp-login-primary);
}

.rp-footer-sep {
    margin: 0 6px;
    color: var(--rp-login-border);
}

.rp-login-footer a {
    color: var(--rp-login-text-muted);
    text-decoration: none;
}

.rp-version-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--rp-login-primary);
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 4px;
    vertical-align: middle;
}

/* Responsive: hide trust badges on mobile (brand panel hidden) */
@media (max-width: 900px) {
    .rp-brand-trust {
        display: none;
    }
}
