/* Interfaz de Recepción y Despacho. */
.rd-app, .rd-login {
    --rd-ink: #263d47;
    --rd-accent: #087e85;
    --rd-line: #e3e9ec;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--rd-ink);
    background: #f5f7f8;
}
.rd-brand { display: flex; align-items: center; gap: 18px; color: var(--rd-ink); text-decoration: none; }
.rd-brand:hover { color: var(--rd-ink); }
.rd-brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.rd-brand-logo img { width: 88px; height: 34px; object-fit: contain; }
.rd-brand-name { padding-left: 18px; border-left: 1px solid var(--rd-line); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rd-app #kt_header { height: 64px; background: #fff; border-bottom: 1px solid var(--rd-line); box-shadow: none; }
.rd-app #kt_header .header-logo { margin-right: 28px !important; }
.rd-app #kt_header .header-menu .menu > .menu-item > .menu-link { border-radius: 0; font-size: 13px; padding: 0 12px !important; background: transparent; box-shadow: none; }
.rd-app #kt_header .header-menu .menu > .menu-item > .menu-link .menu-title { color: #5b6b74; font-weight: 500; }
.rd-app #kt_header .header-menu .menu > .menu-item > .menu-link:hover .menu-title,
.rd-app #kt_header .header-menu .menu > .menu-item.show > .menu-link .menu-title { color: var(--rd-accent); }
.rd-app #kt_header .header-menu .menu > .menu-item > .menu-link.active { box-shadow: inset 0 -2px var(--rd-accent); }
.rd-app #kt_header .header-menu .menu > .menu-item > .menu-link.active .menu-title { color: var(--rd-accent); font-weight: 600; }
.rd-app #kt_header .btn-custom { color: #5b6b74; }
.rd-app #kt_header #kt_header_menu_mobile_toggle .svg-icon { color: #5b6b74 !important; }
.rd-app .rd-toolbar { background: transparent; border: 0; margin-bottom: 8px; }
.rd-app .rd-toolbar h1 { color: var(--rd-ink); font-size: 20px !important; }
.rd-app .rd-toolbar .breadcrumb .text-white { color: #6b7c85 !important; }
.rd-app .rd-toolbar .breadcrumb .bg-white { background: #9aa8ae !important; }
.rd-app .card { border: 1px solid var(--rd-line); border-radius: 8px; box-shadow: none; }
.rd-app .card-header { background: #fff; border-bottom: 1px solid var(--rd-line); }
.rd-app .btn.btn-primary { background: var(--rd-accent); border-color: var(--rd-accent); color: #fff; }
.rd-app .btn.btn-primary:hover:not(.btn-active) { background: #06686e !important; border-color: #06686e !important; }
.rd-app #kt_footer { margin-top: 24px; border-top: 1px solid var(--rd-line); }
.rd-app[data-kt-sticky-header=on] .wrapper { padding-top: 64px; }
.rd-login { --rd-ink: #123342; --rd-mint: #83e4ce; --rd-line: #dce6e9; background: #f2f6f7; }
.rd-login .rd-brand { gap: 14px; color: #fff; }
/* El archivo original incluye márgenes transparentes alrededor del logo. */
.rd-login .rd-brand-logo { position: relative; width: 112px; height: 28px; overflow: hidden; }
.rd-login .rd-brand-logo img { position: absolute; width: 128.5%; max-width: none; height: auto; left: -14.8%; top: -139.6%; }
.rd-login .rd-brand-name { padding: 0; border: 0; font-size: 13px; line-height: 1.4; letter-spacing: .02em; white-space: normal; }
.rd-login .rd-eyebrow { display: block; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.rd-login-layout { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rd-login-story { padding: 42px 10%; background: var(--rd-ink); color: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.rd-login-story::after { content: ""; width: 440px; height: 440px; border: 1px solid #83e4ce22; border-radius: 50%; position: absolute; right: -220px; bottom: -160px; box-shadow: 0 0 0 60px #83e4ce06, 0 0 0 120px #83e4ce04; pointer-events: none; }
.rd-story-content { margin: auto 0; padding: 70px 0; position: relative; z-index: 1; }
.rd-story-content .rd-eyebrow { color: var(--rd-mint); margin-bottom: 24px; }
.rd-story-content h1 { color: #fff; font-size: clamp(40px, 4.7vw, 76px); line-height: 1.08; font-weight: 650; letter-spacing: -.045em; margin: 0 0 24px; }
.rd-story-content h1 > span { color: var(--rd-mint); }
.rd-story-content p { color: #d2e3e8; font-size: 18px; line-height: 1.7; }
.rd-flow { display: flex; align-items: center; margin-top: 46px; max-width: 290px; gap: 22px; }
.rd-flow > div { display: flex; flex-direction: column; gap: 12px; font-size: 12px; color: #d2e3e8; }
.rd-flow-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #83e4ce60; border-radius: 13px; font-size: 30px; color: var(--rd-mint); }
.rd-flow-line { flex: 1; height: 1px; background: #83e4ce60; margin-top: -25px; }
.rd-story-footer { font-size: 12px; color: #bdd0d8; margin: 0; }
.rd-login-access { padding: 48px 10% 24px; display: flex; flex-direction: column; justify-content: center; background: #f8fafb; }
.rd-login-card { width: 100%; max-width: 420px; margin: auto; padding: 48px 0; }
.rd-login-card > .rd-eyebrow { color: var(--rd-accent); margin-bottom: 16px; }
.rd-login-card h2 { color: var(--rd-ink); font-size: 30px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 14px; }
.rd-login-intro { color: #5b707b; margin-bottom: 36px; font-size: 15px; }
.rd-login-field { margin-bottom: 24px; }
.rd-login-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.rd-login-field .form-control { background: #fff; border: 1px solid #c7d6dc; border-radius: 8px; min-height: 52px; font-size: 15px; color: var(--rd-ink); }
.rd-login-field .form-control:focus { border-color: var(--rd-accent); box-shadow: 0 0 0 3px #087e851c; }
.rd-login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; margin-top: 30px; border: 0; border-radius: 8px; background: var(--rd-accent); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.rd-login-submit:hover { background: #06686e; }
.rd-login-submit:focus-visible, .rd-login a:focus-visible, .rd-app a:focus-visible { outline: 3px solid #1aa9b1; outline-offset: 4px; }
.rd-login-help { color: #5b707b; margin-top: 26px; font-size: 12px; line-height: 1.7; }
.rd-login-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #5b707b; font-size: 11px; padding-top: 24px; border-top: 1px solid var(--rd-line); }
.rd-login-footer a { color: var(--rd-accent); }
@media (max-width: 1399.98px) and (min-width: 992px) {
    .rd-app .rd-brand-name { display: none; }
    .rd-app #kt_header .header-logo { margin-right: 20px !important; }
}
@media (max-width: 991.98px) {
    .rd-app .header-menu .menu > .menu-item > .menu-link { border-radius: 6px; }
    .rd-app .header-menu .menu > .menu-item > .menu-link.active { background: #edf6f6; }
    .rd-app .header-menu .menu > .menu-item > .menu-link.active .menu-title { color: var(--rd-accent); }
    .rd-app .rd-brand-logo img { width: 72px; height: 28px; }
    .rd-app .rd-brand-name { font-size: 12px; padding-left: 12px; }
    .rd-app .rd-brand { gap: 12px; }
}
@media (max-width: 479.98px) {
    .rd-app .rd-brand-name { white-space: normal; max-width: 110px; line-height: 1.3; }
}
@media (max-width: 991.98px) {
    .rd-login-story { padding: 32px 8%; }
    .rd-login-access { padding-left: 8%; padding-right: 8%; }
}
@media (max-width: 767.98px) {
    .rd-login-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content max-content; }
    .rd-login-story { padding: 24px; display: block; }
    .rd-story-content { padding: 28px 0 0; }
    .rd-story-content .rd-eyebrow { margin-bottom: 12px; }
    .rd-story-content h1 { font-size: 36px; margin-bottom: 12px; }
    .rd-story-content p { font-size: 15px; margin-bottom: 0; }
    .rd-flow, .rd-story-footer { display: none; }
    .rd-login-access { padding: 12px 24px 24px; }
    .rd-login-card { padding: 30px 0; }
    .rd-login-card h2 { font-size: 27px; }
}
