/* Real Transport s.r.o. — tenant login branding */

/* Background gradient in corporate red/black */
body.login-ui,
body {
    background: linear-gradient(135deg, #0f1419 0%, #1a1d21 50%, #2a1010 100%) !important;
}

/* Hide default Guacamole logo above login form */
.login-ui .login-dialog .logo {
    display: none !important;
}

/* Header banner injected by rt-branding.js */
.rt-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid #c82a1a;
    z-index: 1000;
    color: #ffffff;
    font-family: Inter, system-ui, sans-serif;
}
.rt-header img {
    height: 48px;
    width: auto;
}
.rt-header .rt-titles {
    text-align: left;
    line-height: 1.2;
}
.rt-header .rt-company {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
}
.rt-header .rt-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #c82a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Push the login form down so it clears the header */
.login-ui {
    padding-top: 110px !important;
}

/* Style the login dialog card */
.login-ui .login-dialog {
    background: rgba(255, 255, 255, 0.97) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 42, 26, 0.15) !important;
    padding: 28px 32px !important;
    max-width: 420px;
    margin: 0 auto;
}
.login-ui .login-dialog .buttons button[type="submit"] {
    background: #c82a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    padding: 10px 24px !important;
}
.login-ui .login-dialog .buttons button[type="submit"]:hover {
    background: #a3211a !important;
}

/* Legal notice footer injected by rt-branding.js */
.rt-legal {
    max-width: 780px;
    margin: 24px auto 12px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #c82a1a;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.rt-legal h3 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rt-legal p {
    margin: 6px 0 0 0;
}
.rt-legal .rt-contacts {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.rt-legal .rt-contacts span {
    white-space: nowrap;
}

/* Footer copyright line */
.rt-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    padding: 20px 12px 28px;
}
.rt-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}
.rt-footer a:hover {
    text-decoration: underline;
}

/* TOTP input tweak — make the TOTP-only second step obvious */
.login-ui .login-dialog .form .field input[type="password"],
.login-ui .login-dialog .form .field input[type="text"] {
    background: #fff !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 6px !important;
}
