/* Rojo City Premium. No modifica el contenido HTML de los correos. */
:root { --rc-red:#c5162e; --rc-hot:#f05264; --rc-round:12px; }
#rc-brand-header { display:none; }
html.dark-mode body:not(.task-login) #layout-menu { background:linear-gradient(170deg,#181518,#101012 75%) !important; }
html.dark-mode #layout-sidebar,html.dark-mode #layout-list,html.dark-mode #layout-content { background-color:#171719 !important; border-color:#353034 !important; }
html.dark-mode #layout > div > .header,html.dark-mode #layout > div > .footer { background:#1c1b1e !important; border-color:#373034 !important; color:#eee !important; }
html.dark-mode #layout-menu .popover-header { background:#171416 !important; }
#taskmenu a.compose { color:#fff !important; background:linear-gradient(145deg,#d42138,#9a1023) !important; border-radius:10px; box-shadow:0 4px 16px #a7102933; }
#taskmenu a.compose:hover { background:#dc2840 !important; }
html.dark-mode #taskmenu a.selected:not(.compose),html.dark-mode #taskmenu a:hover:not(.compose) { background:#3c1c25 !important; color:#fff !important; }
html.dark-mode #taskmenu a.selected:not(.compose)::before { color:#ff6877 !important; }
html.dark-mode .listing li.selected > a,html.dark-mode .listing li.selected > div,html.dark-mode .listing tr.selected > td,html.dark-mode #messagelist tr.selected > td { background:#65202d !important; color:#fff !important; }
html.dark-mode #messagelist tr.selected a,html.dark-mode .listing li.selected > a { color:#fff !important; }
html:not(.dark-mode) .listing li.selected > a,html:not(.dark-mode) .listing tr.selected > td { background:#f8e3e6 !important; color:#781324 !important; }
#layout-sidebar .listing li > a { border-radius:8px; }
html.dark-mode #messagelist tr:not(.selected) td { border-color:#343034 !important; }
html.dark-mode #messagelist tr.unread:not(.selected) .subject a { color:#ff8190 !important; }
html.dark-mode #layout-list .searchbar,html.dark-mode #layout-list .searchbar input { background:#211f22 !important; color:#eee !important; }
#layout .searchbar input { border-radius:8px; }
html.dark-mode #layout .toolbar a.button.active:hover { color:#ff7d8a !important; background:#392129 !important; border-radius:8px; }
body .btn-primary,body #login-form .btn-primary { background:#b9142c !important; border-color:#b9142c !important; color:#fff !important; border-radius:9px; }
body .btn-primary:hover { background:#d8243c !important; }
body .form-control:focus { border-color:#d43a50 !important; box-shadow:0 0 0 .15rem #d43a5030 !important; }
html.dark-mode #layout-menu a.logout { color:#ff8290 !important; }
/* Logotipo tipografico provisional, servido localmente por CSS. */
#layout-menu #logo,body.task-login #logo { content:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"%3E%3Crect x="2" y="2" width="76" height="76" rx="18" fill="%231b171a"/%3E%3Cpath d="M19 30h42l5 37H14zM29 30V20a11 11 0 0 1 22 0v10" fill="none" stroke="%23f04458" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/%3E%3C/svg%3E'); }
body.task-login #layout { background:radial-gradient(ellipse at 80% 12%,#74172a 0,transparent 45%),radial-gradient(ellipse at 0 100%,#41121c 0,transparent 50%),#101013 !important; }
body.task-login #layout-content { background:transparent !important; color:#f5f3f4 !important; }
body.task-login #login-form { padding:24px !important; border:1px solid #56313a; border-radius:18px; background:#201b20; box-shadow:0 18px 50px #0006; max-width:calc(100vw - 36px); }
body.task-login #login-form input { background:#161416 !important; border-color:#55434b !important; color:#fff !important; }
body.task-login #login-form input::placeholder { color:#c1b5ba !important; }
body.task-login #login-form .input-group-text { background:#282126 !important; color:#ef8190 !important; border-color:#55434b !important; }
body.task-login #login-footer,body.task-login #login-footer a { color:#d9cbd0 !important; }
body.task-login #logo { max-height:82px !important; }
@media(min-width:1200px) {
  body.rc-premium-shell #rc-brand-header { height:64px; box-sizing:border-box; display:flex; align-items:center; gap:24px; padding:0 25px; color:#fff; background:linear-gradient(115deg,#161416 20%,#33151d 58%,#751427 80%,#191619 100%); border-bottom:1px solid #542530; }
  .rc-brand-word { font-family:Arial,sans-serif; font-size:24px; font-weight:800; letter-spacing:1.4px; white-space:nowrap; }
  .rc-brand-word::before { content:''; display:inline-block; width:17px; height:19px; border:2px solid #ff5369; border-radius:3px 3px 5px 5px; margin-right:13px; vertical-align:-1px; transform:skew(-5deg); }
  .rc-brand-label { border-left:1px solid #ffffff40; padding-left:24px; font-size:15px; }
  .rc-brand-caption { margin-left:auto; font-size:12px; color:#e1bcc4; }
  body.rc-premium-shell #layout { height:calc(100% - 64px); }
  html.dark-mode body.rc-premium-shell #layout { background:#111113; }
  #layout-menu:not(.popover) #taskmenu a.compose { margin:8px 4px; }
}
@media(max-width:1199px) { #rc-brand-header { display:none !important; } }
