:root{
  --bg-start:#161b2f;
  --bg-end:#0f1726;
  --panel:#222b3c;
  --panel-soft:#2b364b;
  --panel-strong:#34425d;
  --text:#f5f7fb;
  --muted:#d9e1f2;
  --line:#4a5a7d;
  --accent:#ffbf3c;
  --accent-2:#63d2ff;
  --accent-3:#8ef0c4;
  --danger:#ff7373;
  --ok:#8ef0c4;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(99,210,255,.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255,191,60,.07), transparent 24%),
    linear-gradient(180deg, #13203a 0%, #101b31 52%, #101b31 100%);
}

a{color:inherit}

.app-topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(15,23,38,.90);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.10);
}

.app-topbar-inner{
  width:100%;
  max-width:none;
  margin:0;
  padding:12px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.3px;
}

.brand img{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:12px;
}

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-title small{
  color:var(--accent);
  font-size:11px;
  font-weight:700;
  margin-top:4px;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.nexus-btn{
  border:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 15px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  color:#2a1b00;
  background:linear-gradient(180deg, #ffd155, #f7b500);
  box-shadow:0 10px 22px rgba(247,181,0,.20);
}

.nexus-btn.secondary{
  color:#06172f;
  background:linear-gradient(180deg, #7be0ff, #3796ff);
}

.nexus-btn.ghost{
  color:var(--text);
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  box-shadow:none;
}

.nexus-btn.danger{
  color:#fff;
  background:linear-gradient(180deg, #ff7777, #d94141);
}

.public-wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding:24px 26px 34px;
}

.hero-nexus{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:26px;
  padding:36px;
  background:
    radial-gradient(circle at 90% 20%, rgba(99,210,255,.16), transparent 30%),
    linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
  box-shadow:0 18px 48px rgba(0,0,0,.28);
}

.hero-nexus h1{
  margin:0 0 10px;
  font-size:clamp(34px, 5vw, 56px);
  color:#fff9ee;
}

.hero-nexus p{
  margin:0;
  max-width:780px;
  color:var(--muted);
  line-height:1.55;
  font-size:17px;
}

.home-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  margin-top:18px;
}

.nexus-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:24px;
  background:linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
  box-shadow:0 16px 36px rgba(0,0,0,.22);
}

.nexus-card h2,
.nexus-card h3{
  margin-top:0;
  color:#fff9ee;
}

.nexus-card p{
  color:var(--muted);
  line-height:1.5;
}

.note-nexus{
  margin-top:18px;
  border:1px solid rgba(99,210,255,.22);
  border-radius:18px;
  padding:14px 16px;
  background:rgba(99,210,255,.08);
  color:#dcecff;
}

.soffast-footer{
  margin-top:22px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:8px;
  color:rgba(245,247,251,.72);
  font-size:12px;
}

.soffast-footer img{
  width:28px;
  height:28px;
  object-fit:contain;
}

.calendar-layout{
  display:grid;
  grid-template-columns:360px minmax(0,1fr);
  gap:18px;
  align-items:start;
  width:100%;
}

.request-panel{
  position:sticky;
  top:86px;
  width:100%;
}

.form-group{
  margin-bottom:13px;
}

.form-group label{
  display:block;
  margin-bottom:6px;
  color:#fff4d7;
  font-size:13px;
  font-weight:800;
}

.nexus-input,
.nexus-select,
.nexus-textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:11px 12px;
  color:var(--text);
  background:rgba(255,255,255,.09);
  outline:none;
}

.nexus-input:focus,
.nexus-select:focus,
.nexus-textarea:focus{
  border-color:rgba(255,191,60,.75);
  box-shadow:0 0 0 4px rgba(255,191,60,.14);
}

.nexus-textarea{
  min-height:82px;
  resize:vertical;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.calendar-shell{
  overflow:hidden;
  min-width:0;
  width:100%;
}

.calendar-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  flex-wrap:wrap;
}

.calendar-title{
  font-size:20px;
  font-weight:900;
  color:#fff9ee;
}

.calendar-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.calendar-grid{
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:auto;
  background:rgba(13,22,38,.70);
}

.calendar-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:980px;
}

.calendar-table th,
.calendar-table td{
  border-right:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.09);
}

.calendar-table th{
  position:sticky;
  top:0;
  z-index:2;
  background:rgba(18,25,39,.96);
  color:#fff4d7;
  padding:10px 8px;
  font-size:13px;
  text-align:center;
}

.calendar-table th:first-child{
  left:0;
  z-index:3;
}

.hour-cell{
  width:72px;
  min-width:72px;
  color:var(--muted);
  background:rgba(18,25,39,.82);
  font-size:12px;
  text-align:center;
  vertical-align:top;
  padding:10px 6px;
}

.slot-cell{
  height:54px;
  min-width:120px;
  padding:5px;
  vertical-align:top;
  cursor:pointer;
  background:rgba(255,255,255,.025);
}

.slot-cell:hover{
  background:rgba(99,210,255,.10);
}

.slot-cell.selected{
  background:rgba(255,191,60,.20);
  box-shadow:inset 0 0 0 2px rgba(255,191,60,.55);
}

.slot-badge{
  display:block;
  width:100%;
  border-radius:10px;
  padding:5px 6px;
  margin-bottom:4px;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
}

.slot-badge.pendiente{
  color:#06172f;
  background:linear-gradient(180deg, #7be0ff, #3796ff);
}

.slot-badge.aprobado,
.slot-badge.entregado{
  color:#2a1b00;
  background:linear-gradient(180deg, #ffd155, #f7b500);
}

.slot-badge.rechazado,
.slot-badge.cancelado{
  color:#fff;
  background:rgba(255,115,115,.75);
}

.slot-badge.devuelto{
  color:#ecf2ff;
  background:rgba(255,255,255,.18);
}

.capacity-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(142,240,196,.28);
  border-radius:999px;
  padding:8px 12px;
  color:#dffff1;
  background:rgba(142,240,196,.10);
  font-weight:800;
  font-size:13px;
}

.alert-box{
  display:none;
  margin:12px 0;
  padding:11px 12px;
  border-radius:13px;
  font-weight:700;
  line-height:1.35;
}

.alert-box.ok{
  display:block;
  color:#073b25;
  background:#baf7d8;
}

.alert-box.error{
  display:block;
  color:#fff;
  background:rgba(255,115,115,.78);
}

.admin-layout{
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
  min-height:100vh;
}

.admin-sidebar{
  background:rgba(15,23,38,.94);
  border-right:1px solid rgba(255,255,255,.10);
  padding:18px;
}

.admin-sidebar .brand{
  margin-bottom:20px;
}

.admin-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  margin-bottom:6px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:700;
}

.admin-nav a:hover{
  background:rgba(255,255,255,.09);
  color:var(--accent);
}

.admin-main{
  padding:22px;
}

.admin-header-card,
.admin-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:22px;
  background:linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
  box-shadow:0 16px 36px rgba(0,0,0,.22);
}

.admin-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-top:16px;
}

.metric{
  font-size:34px;
  font-weight:900;
  color:var(--accent);
  margin:8px 0 0;
}

.table-wrap{
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
}

.nexus-table{
  width:100%;
  border-collapse:collapse;
  min-width:980px;
  background:rgba(13,22,38,.60);
}

.nexus-table th,
.nexus-table td{
  padding:11px 10px;
  border-bottom:1px solid rgba(255,255,255,.09);
  text-align:left;
  vertical-align:top;
}

.nexus-table th{
  color:#fff4d7;
  background:rgba(18,25,39,.92);
  font-size:13px;
}

.estado-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.estado-pendiente{background:#63d2ff;color:#06172f}
.estado-aprobado{background:#ffbf3c;color:#2a1b00}
.estado-entregado{background:#8ef0c4;color:#06351f}
.estado-devuelto{background:rgba(255,255,255,.18);color:#fff}
.estado-rechazado,
.estado-cancelado{background:#ff7373;color:#fff}

.inline-actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.inline-actions form{
  display:inline;
}

.login-page{
  display:grid;
  min-height:100vh;
  place-items:center;
  padding:20px;
}

.login-card{
  width:min(430px, 94vw);
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  padding:28px;
  background:linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
  box-shadow:0 18px 48px rgba(0,0,0,.30);
}

.login-card h1{
  margin:14px 0 8px;
  color:#fff9ee;
}

.login-card p{
  color:var(--muted);
}

.login-logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.login-logo img{
  width:54px;
  height:54px;
  object-fit:contain;
}

@media (min-width:1600px){
  .calendar-layout{
    grid-template-columns:380px minmax(0,1fr);
  }

  .calendar-table{
    min-width:1200px;
  }

  .slot-cell{
    min-width:140px;
  }
}

@media (max-width:920px){
  .home-grid,
  .calendar-layout,
  .admin-layout{
    grid-template-columns:1fr;
  }

  .request-panel{
    position:static;
  }

  .admin-sidebar{
    position:static;
  }
}

@media (max-width:560px){
  .public-wrap,
  .admin-main,
  .app-topbar-inner{
    padding:16px;
  }

  .hero-nexus{
    padding:24px;
  }

  .form-row{
    grid-template-columns:1fr;
  }

  .top-actions{
    gap:6px;
  }

  .nexus-btn{
    padding:9px 12px;
  }
}

.calendar-month-page{
  width:100%;
}

.month-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.month-head h1{
  margin:0 0 8px;
  font-size:34px;
  color:#fff9ee;
}

.month-head p{
  margin:0;
  color:var(--muted);
}

.month-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:10px 4px 14px;
}

.month-title-row h2{
  margin:0;
  font-size:30px;
  color:#fff9ee;
}

.month-legend{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:700;
}

.dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  margin-right:5px;
}

.dot.ok{background:#8ef0c4}
.dot.pending{background:#63d2ff}
.dot.busy{background:#ffbf3c}

.month-grid{
  display:grid;
  grid-template-columns:repeat(7, minmax(130px, 1fr));
  gap:10px;
  width:100%;
}

.month-day-name{
  padding:10px 12px;
  border-radius:14px;
  text-align:center;
  font-weight:900;
  color:#fff4d7;
  background:rgba(18,25,39,.86);
  border:1px solid rgba(255,255,255,.10);
}

.month-cell{
  min-height:150px;
  display:flex;
  flex-direction:column;
  gap:10px;
  text-decoration:none;
  border-radius:18px;
  padding:13px;
  background:linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
  border:1px solid rgba(142,240,196,.18);
  box-shadow:0 12px 26px rgba(0,0,0,.18);
  transition:.15s ease;
}

.month-cell:hover{
  transform:translateY(-2px);
  border-color:rgba(255,191,60,.65);
  box-shadow:0 16px 34px rgba(0,0,0,.28);
}

.month-cell.muted{
  opacity:.25;
  pointer-events:none;
}

.month-cell.today{
  box-shadow:0 0 0 2px rgba(99,210,255,.45), 0 14px 32px rgba(0,0,0,.25);
}

.month-cell.has-pending{
  border-color:rgba(99,210,255,.42);
}

.month-cell.has-busy{
  border-color:rgba(255,191,60,.42);
}

.month-cell-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.month-cell-top strong{
  font-size:24px;
  color:#fff9ee;
}

.month-cell-top span{
  font-size:12px;
  font-weight:900;
  color:#06172f;
  background:#63d2ff;
  padding:5px 8px;
  border-radius:999px;
}

.month-status{
  display:grid;
  gap:8px;
}

.month-status div{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:8px 9px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
}

.month-status b{
  color:#fff4d7;
  font-size:13px;
}

.month-status small{
  color:var(--muted);
  text-align:right;
}

.month-status .pending-line{
  display:block;
  color:#06172f;
  background:linear-gradient(180deg, #7be0ff, #3796ff);
  font-weight:900;
  text-align:center;
}

.day-table{
  min-width:100%;
}

.day-slot{
  min-width:auto;
  height:68px;
}

.day-slot-main{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:6px;
}

.day-slot-main strong{
  color:#fff9ee;
}

.day-slot-main span{
  color:#8ef0c4;
  font-weight:900;
}

@media (max-width:980px){
  .month-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .month-day-name{
    display:none;
  }

  .month-head,
  .month-title-row{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:560px){
  .month-grid{
    grid-template-columns:1fr;
  }

  .month-cell{
    min-height:auto;
  }
}

.calendar-page-split{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:18px;
  width:100%;
  align-items:start;
}

.calendar-side-menu{
  position:sticky;
  top:86px;
  min-height:calc(100vh - 120px);
}

.calendar-side-menu h2{
  font-size:30px;
  margin-bottom:8px;
}

.side-filter-form{
  margin-top:18px;
}

.side-info{
  margin-top:20px;
  border:1px solid rgba(255,191,60,.28);
  background:rgba(255,191,60,.08);
  border-radius:16px;
  padding:14px;
  display:grid;
  gap:6px;
}

.side-info strong{
  color:#fff4d7;
}

.side-info span{
  color:var(--accent);
  font-weight:900;
  font-size:20px;
}

.side-legend{
  margin-top:18px;
  display:grid;
  gap:10px;
  color:var(--muted);
  font-weight:800;
  font-size:14px;
}

.side-full-btn{
  width:100%;
  margin-top:22px;
}

.calendar-main-panel{
  min-width:0;
  width:100%;
}

.month-title-row.clean{
  margin:8px 2px 14px;
}

.clean-calendar{
  grid-template-columns:repeat(7, minmax(90px, 1fr));
  gap:8px;
}

.clean-cell{
  min-height:118px;
  justify-content:space-between;
  position:relative;
  padding:14px;
  background:linear-gradient(180deg, rgba(43,54,75,.96), rgba(34,43,60,.96));
}

.clean-cell:hover{
  transform:translateY(-2px);
}

.clean-day-number{
  font-size:34px;
  font-weight:900;
  color:#fff9ee;
  line-height:1;
}

.clean-cell.muted .clean-day-number{
  color:rgba(255,255,255,.28);
}

.clean-day-markers{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  min-height:24px;
}

.mini-badge{
  min-width:26px;
  height:26px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
}

.mini-badge.busy{
  background:var(--accent);
  color:#2a1b00;
}

.mini-badge.pending{
  background:var(--accent-2);
  color:#06172f;
}

.today-label{
  position:absolute;
  top:10px;
  right:10px;
  font-size:11px;
  font-weight:900;
  background:var(--accent-2);
  color:#06172f;
  border-radius:999px;
  padding:4px 8px;
}

.clean-cell.has-busy{
  border-color:rgba(255,191,60,.55);
}

.clean-cell.has-pending{
  border-color:rgba(99,210,255,.55);
}

.clean-cell:not(.has-busy):not(.has-pending):not(.muted){
  border-color:rgba(142,240,196,.22);
}

@media (max-width:980px){
  .calendar-page-split{
    grid-template-columns:1fr;
  }

  .calendar-side-menu{
    position:static;
    min-height:auto;
  }

  .clean-calendar{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width:560px){
  .clean-calendar{
    grid-template-columns:1fr;
  }

  .clean-cell{
    min-height:84px;
  }
}

/* ===== VISTA PUBLICA TIPO NEXUS INTERNO ===== */

.nexus-shell-public{
  min-height:100vh;
  background:
    radial-gradient(circle at 90% 0%, rgba(50, 120, 255, .10), transparent 35%),
    linear-gradient(180deg, #101827 0%, #0d1424 100%);
  color:#edf3ff;
}

.nexus-topbar-public{
  height:58px;
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px 0 86px;
  background:#0c1322;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.nexus-logo-pill{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#fff;
  font-weight:900;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#101a2e;
}

.nexus-logo-pill img{
  width:58px;
  height:22px;
  object-fit:contain;
}

.nexus-logo-pill span{
  color:#f4c546;
  font-size:12px;
  letter-spacing:.4px;
}

.nexus-left-rail{
  position:fixed;
  z-index:60;
  left:0;
  top:58px;
  bottom:0;
  width:68px;
  background:#0d172b;
  border-right:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding-top:18px;
}

.nexus-left-rail a{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color:#c8d6f4;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  font-size:18px;
}

.nexus-left-rail a:hover{
  color:#f4c546;
  background:rgba(244,197,70,.12);
  border-color:rgba(244,197,70,.35);
}

.nexus-public-content{
  margin-left:68px;
  padding:22px 22px 34px;
}

.annual-calendar-card{
  width:100%;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:#101827;
  box-shadow:0 18px 38px rgba(0,0,0,.25);
  padding:18px;
}

.annual-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:14px;
}

.annual-head h1{
  margin:0 0 6px;
  color:#ffffff;
  font-size:22px;
}

.annual-head p{
  margin:0;
  color:#c9d6ef;
  font-size:14px;
}

.annual-controls{
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
}

.annual-controls label{
  color:#dce7ff;
  font-weight:800;
  font-size:13px;
  display:grid;
  gap:6px;
}

.annual-controls .nexus-select{
  width:180px;
  padding:9px 10px;
  border-radius:10px;
}

.annual-subtitle{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:14px;
  background:#0c1322;
  border:1px solid rgba(255,255,255,.08);
}

.annual-subtitle strong{
  color:#f4c546;
  font-size:16px;
}

.annual-subtitle span{
  color:#c9d6ef;
  font-size:13px;
}

.annual-months-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(180px, 1fr));
  gap:12px;
}

.mini-month{
  min-height:238px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:#0d1424;
  padding:12px;
}

.mini-month h2{
  margin:0 0 12px;
  color:#ffffff;
  font-size:15px;
}

.mini-weekdays{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:5px;
  margin-bottom:7px;
}

.mini-weekdays span{
  text-align:center;
  color:#8fb3e8;
  font-size:12px;
  font-weight:800;
}

.mini-days{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:6px;
}

.mini-day{
  height:26px;
  border-radius:9px;
  display:grid;
  place-items:center;
  text-decoration:none;
  color:#dce7ff;
  background:#121d31;
  border:1px solid rgba(255,255,255,.04);
  font-size:12px;
  font-weight:800;
  position:relative;
}

.mini-day:hover{
  background:#1b2b47;
  color:#ffffff;
  border-color:rgba(244,197,70,.40);
}

.mini-day.other-month{
  opacity:.26;
}

.mini-day.today{
  outline:2px solid #f4c546;
  color:#ffffff;
}

.mini-day.busy{
  background:rgba(25, 171, 111, .18);
  color:#dfffea;
  border-color:rgba(25, 171, 111, .35);
}

.mini-day.pending{
  background:rgba(96, 170, 255, .18);
  color:#e7f2ff;
  border-color:rgba(96, 170, 255, .40);
}

.mini-day.busy.pending::after{
  content:"";
  position:absolute;
  right:4px;
  top:4px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#f4c546;
}

.annual-legend{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:16px;
  color:#c9d6ef;
  font-size:13px;
}

.legend-dot{
  display:inline-block;
  width:11px;
  height:11px;
  border-radius:50%;
  margin-right:6px;
  vertical-align:-1px;
}

.legend-dot.busy{background:#19ab6f}
.legend-dot.pending{background:#60aaff}
.legend-dot.today{background:#f4c546}

@media (max-width:1300px){
  .annual-months-grid{
    grid-template-columns:repeat(4, minmax(180px, 1fr));
  }
}

@media (max-width:920px){
  .annual-months-grid{
    grid-template-columns:repeat(2, minmax(160px, 1fr));
  }

  .annual-head,
  .annual-subtitle{
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width:620px){
  .nexus-topbar-public{
    padding-left:76px;
  }

  .nexus-public-content{
    padding:14px;
  }

  .annual-months-grid{
    grid-template-columns:1fr;
  }

  .annual-controls .nexus-select{
    width:100%;
  }

  .annual-controls{
    display:grid;
  }
}

/* Corrección: quitar barra lateral de iconos y conservar lateral de filtros */
.nexus-left-rail{
  display:none !important;
}

.nexus-public-content{
  margin-left:0 !important;
}

.calendar-page-split{
  display:grid !important;
  grid-template-columns:320px minmax(0,1fr) !important;
  gap:18px !important;
  width:100% !important;
  align-items:start !important;
}

.calendar-side-menu{
  position:sticky !important;
  top:86px !important;
  min-height:calc(100vh - 120px) !important;
}

.calendar-main-panel{
  min-width:0 !important;
  width:100% !important;
}

.annual-calendar-card{
  width:100% !important;
}

.annual-months-grid{
  display:grid !important;
  grid-template-columns:repeat(6, minmax(180px, 1fr)) !important;
  gap:12px !important;
}

@media (max-width:1300px){
  .annual-months-grid{
    grid-template-columns:repeat(4, minmax(180px, 1fr)) !important;
  }
}

@media (max-width:980px){
  .calendar-page-split{
    grid-template-columns:1fr !important;
  }

  .calendar-side-menu{
    position:static !important;
    min-height:auto !important;
  }

  .annual-months-grid{
    grid-template-columns:repeat(2, minmax(160px, 1fr)) !important;
  }
}

@media (max-width:620px){
  .annual-months-grid{
    grid-template-columns:1fr !important;
  }
}

/* Ajuste fino lateral solicitud */
.solicitud-side{
  padding:18px !important;
  background:linear-gradient(180deg, rgba(28,38,58,.96), rgba(24,32,50,.96)) !important;
}

.solicitud-side .side-kicker{
  color:#f4c546;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.8px;
  margin-bottom:8px;
}

.solicitud-side h2{
  font-size:22px !important;
  line-height:1.15;
  margin:0 0 8px !important;
  color:#ffffff;
}

.solicitud-side p{
  font-size:14px;
  line-height:1.45;
  color:#c9d6ef;
  margin:0 0 16px;
}

.equipment-choice{
  display:grid;
  gap:10px;
  margin:14px 0 16px;
}

.equipment-option{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  border-radius:15px;
  padding:12px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.10);
  color:#eaf1ff;
  transition:.15s ease;
}

.equipment-option:hover{
  transform:translateY(-1px);
  border-color:rgba(244,197,70,.45);
  background:rgba(244,197,70,.08);
}

.equipment-option.active{
  border-color:rgba(244,197,70,.72);
  background:linear-gradient(180deg, rgba(244,197,70,.22), rgba(244,197,70,.10));
  box-shadow:0 0 0 3px rgba(244,197,70,.08);
}

.equipment-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#111a2d;
  color:#f4c546;
  border:1px solid rgba(244,197,70,.28);
  flex:0 0 auto;
}

.equipment-option strong{
  display:block;
  font-size:14px;
  color:#ffffff;
  margin-bottom:2px;
}

.equipment-option small{
  display:block;
  font-size:12px;
  color:#aebce0;
}

.side-info.refined{
  margin-top:14px;
  border-color:rgba(96,170,255,.24);
  background:rgba(96,170,255,.07);
}

.side-info.refined span{
  color:#f4c546;
  font-size:18px;
}

.side-legend.refined{
  margin-top:16px;
  padding:12px;
  border-radius:15px;
  background:rgba(0,0,0,.13);
  border:1px solid rgba(255,255,255,.07);
  gap:9px;
  font-size:13px;
}

.year-info-box{
  min-width:110px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px 14px;
  background:#0c1322;
  text-align:center;
}

.year-info-box span{
  display:block;
  color:#c9d6ef;
  font-size:12px;
  font-weight:800;
  margin-bottom:3px;
}

.year-info-box strong{
  display:block;
  color:#f4c546;
  font-size:18px;
}

@media (max-width:980px){
  .year-info-box{
    text-align:left;
  }
}

/* ===== DETALLE DEL DIA REFINADO ===== */
.detail-day-layout{
  grid-template-columns: 350px minmax(0,1fr) !important;
  gap:16px !important;
  align-items:start !important;
}

.day-request-panel{
  padding:20px !important;
  background:linear-gradient(180deg, rgba(34,44,66,.97), rgba(27,35,55,.97)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 14px 32px rgba(0,0,0,.18) !important;
}

.soft-back-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color:#eef4ff;
  font-weight:800;
  font-size:14px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:14px;
}

.soft-back-link:hover{
  border-color:rgba(244,197,70,.45);
  background:rgba(244,197,70,.08);
  color:#fff;
}

.panel-section-head{
  margin-bottom:14px;
}

.panel-section-head .side-kicker{
  margin-bottom:8px;
}

.panel-section-head h2{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.15;
  color:#ffffff;
}

.panel-section-head p{
  margin:0;
  color:#cbd7ef;
  font-size:14px;
  line-height:1.45;
}

.refined-form .form-group{
  margin-bottom:12px;
}

.refined-form .form-group label{
  margin-bottom:6px;
  color:#f4f7ff;
  font-size:13px;
  font-weight:800;
}

.refined-form .nexus-input,
.refined-form .nexus-select,
.refined-form .nexus-textarea{
  min-height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:#eef4ff;
  font-size:14px;
  transition:.15s ease;
}

.refined-form .nexus-input::placeholder,
.refined-form .nexus-textarea::placeholder{
  color:#9eb0d1;
}

.refined-form .nexus-input:focus,
.refined-form .nexus-select:focus,
.refined-form .nexus-textarea:focus{
  border-color:rgba(96,170,255,.55);
  box-shadow:0 0 0 3px rgba(96,170,255,.10);
  background:rgba(255,255,255,.08);
}

.refined-form .nexus-textarea{
  min-height:72px;
}

.detail-submit-btn{
  width:100%;
  justify-content:center;
  margin-top:6px;
  min-height:44px;
}

.detail-day-shell{
  padding:20px !important;
  background:linear-gradient(180deg, rgba(37,48,72,.97), rgba(28,38,60,.97)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 14px 32px rgba(0,0,0,.18) !important;
}

.detail-day-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:12px;
}

.detail-day-title-wrap h1{
  margin:0 0 10px;
  font-size:18px;
  color:#ffffff;
}

.detail-day-subinfo{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.detail-mini-note{
  color:#b7c8e5;
  font-size:13px;
}

.detail-day-actions{
  gap:8px;
}

.detail-day-actions .nexus-btn{
  min-height:40px;
  padding:9px 14px;
  font-size:13px;
}

.detail-day-tip{
  margin-bottom:14px;
  border-radius:14px;
  padding:12px 14px;
  color:#dce9ff;
  font-size:14px;
  line-height:1.4;
  background:rgba(96,170,255,.10);
  border:1px solid rgba(96,170,255,.22);
}

.detail-grid{
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px !important;
  overflow:auto !important;
  background:rgba(8,14,26,.18) !important;
}

.detail-table{
  min-width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}

.detail-table th{
  background:#11192d !important;
  color:#eef4ff !important;
  font-size:13px !important;
  font-weight:800 !important;
  padding:12px 10px !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

.detail-table .hour-cell{
  width:84px !important;
  min-width:84px !important;
  background:#10182c !important;
  color:#d9e4f8 !important;
  font-weight:800 !important;
  font-size:13px !important;
  text-align:center !important;
  padding:12px 8px !important;
  border-right:1px solid rgba(255,255,255,.07) !important;
}

.detail-table .day-slot{
  height:58px !important;
  background:rgba(255,255,255,.015) !important;
  transition:.12s ease;
  padding:0 !important;
}

.detail-table .day-slot:hover{
  background:rgba(96,170,255,.08) !important;
}

.detail-table .day-slot.selected{
  background:rgba(244,197,70,.15) !important;
  box-shadow:inset 0 0 0 1px rgba(244,197,70,.65) !important;
}

.detail-table .day-slot-main{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 14px !important;
  height:58px !important;
  margin:0 !important;
}

.detail-table .day-slot-main strong{
  font-size:14px !important;
  font-weight:800 !important;
  color:#ffffff !important;
}

.detail-table .day-slot-main span{
  color:#8ef0c4 !important;
  font-weight:900 !important;
  font-size:14px !important;
}

.detail-table .slot-badge{
  margin:0 10px 10px 14px !important;
  display:inline-flex !important;
  align-items:center !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  font-size:11px !important;
  font-weight:900 !important;
}

.capacity-pill{
  border:1px solid rgba(96,170,255,.24) !important;
  background:rgba(96,170,255,.10) !important;
  color:#dff0ff !important;
  font-size:13px !important;
  padding:8px 12px !important;
}

.alert-box{
  margin-bottom:12px !important;
  border-radius:14px !important;
  font-size:14px !important;
}

@media (max-width:1100px){
  .detail-day-layout{
    grid-template-columns:1fr !important;
  }

  .detail-day-header{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .detail-day-actions{
    flex-wrap:wrap !important;
  }
}

.detail-day-header.no-nav-day{
  margin-bottom:10px;
}

.detail-day-header.no-nav-day .detail-day-title-wrap{
  width:100%;
}

.detail-day-header.no-nav-day h1{
  margin-bottom:8px;
}

.detail-day-actions{
  margin-left:auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-start !important;
}

.detail-day-actions .nexus-btn{
  white-space:nowrap !important;
}

.detail-day-header{
  align-items:flex-start !important;
}

/* Disponibilidad pública simple: no mostrar capacidades internas */
.capacity-pill{
  color:#dff0ff !important;
}

.public-availability .availability-row{
  height:58px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.public-availability strong{
  display:block;
  color:#ffffff;
  font-size:14px;
  margin-bottom:3px;
}

.public-availability small{
  display:block;
  color:#9fb0d1;
  font-size:12px;
  font-weight:700;
}

.availability-pill{
  min-width:96px;
  text-align:center;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:900;
}

.availability-pill.free{
  color:#dffff1;
  background:rgba(25,171,111,.14);
  border:1px solid rgba(25,171,111,.35);
}

.availability-pill.full{
  color:#ffdede;
  background:rgba(255,115,115,.14);
  border:1px solid rgba(255,115,115,.35);
}

.public-availability.is-free{
  background:rgba(255,255,255,.015) !important;
}

.public-availability.is-full{
  background:rgba(255,115,115,.075) !important;
}

.public-availability.is-full strong{
  color:#ffdede !important;
}

.public-availability.is-full:hover{
  background:rgba(255,115,115,.12) !important;
  cursor:not-allowed;
}

.public-availability.is-free:hover{
  background:rgba(25,171,111,.075) !important;
}

.detail-table .day-slot-main{
  display:none !important;
}

.mini-day.busy{
  background:rgba(255, 87, 87, .20) !important;
  color:#ffdede !important;
  border-color:rgba(255, 87, 87, .45) !important;
}

.legend-dot.busy{
  background:#ff5757 !important;
}

/* =========================================================
   EMBELLECIMIENTO VISTA DETALLE DE PRESTAMO
   ========================================================= */

.detail-day-layout{
  grid-template-columns: 330px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
}

/* Panel izquierdo */
.day-request-panel{
  position: sticky !important;
  top: 88px !important;
  padding: 22px 18px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), transparent 40%),
    linear-gradient(180deg, rgba(37,47,73,.97), rgba(26,34,56,.98)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.panel-section-head{
  margin-bottom: 16px !important;
}

.panel-section-head .side-kicker{
  display: inline-block;
  margin-bottom: 8px !important;
  color: #f4c546 !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
}

.panel-section-head h2{
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.panel-section-head p{
  margin: 0 !important;
  color: #c9d6ef !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.refined-form .form-group{
  margin-bottom: 13px !important;
}

.refined-form .form-group label{
  display:block !important;
  margin-bottom: 6px !important;
  color: #f0f5ff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.refined-form .nexus-input,
.refined-form .nexus-select,
.refined-form .nexus-textarea{
  width: 100% !important;
  min-height: 46px !important;
  padding: 11px 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035)) !important;
  color: #eef3ff !important;
  font-size: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
  transition: .18s ease !important;
}

.refined-form .nexus-input::placeholder,
.refined-form .nexus-textarea::placeholder{
  color: #9aaed1 !important;
}

.refined-form .nexus-input:focus,
.refined-form .nexus-select:focus,
.refined-form .nexus-textarea:focus{
  outline: none !important;
  border-color: rgba(244,197,70,.55) !important;
  box-shadow:
    0 0 0 3px rgba(244,197,70,.10),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05)) !important;
}

.refined-form .nexus-textarea{
  min-height: 82px !important;
  resize: vertical !important;
}

.refined-form .form-row{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

.detail-submit-btn{
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 6px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  background: linear-gradient(180deg, #f4c546, #e6b733) !important;
  color: #1b2336 !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(244,197,70,.18) !important;
}

.detail-submit-btn:hover{
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 26px rgba(244,197,70,.22) !important;
}

/* Panel derecho */
.detail-day-shell{
  padding: 18px 18px 16px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top right, rgba(96,170,255,.08), transparent 30%),
    linear-gradient(180deg, rgba(38,49,78,.97), rgba(27,36,60,.98)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 12px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03) !important;
}

.detail-day-header{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap: 18px !important;
  margin-bottom: 14px !important;
}

.detail-day-title-wrap .side-kicker{
  display: inline-block !important;
  margin-bottom: 6px !important;
  color: #8cbfff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .7px !important;
  text-transform: uppercase !important;
}

.detail-day-title-wrap h1{
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.detail-day-subinfo{
  display:flex !important;
  flex-wrap:wrap !important;
  gap: 10px !important;
  align-items:center !important;
}

.capacity-pill{
  display:inline-flex !important;
  align-items:center !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(96,170,255,.10) !important;
  color: #dcecff !important;
  border: 1px solid rgba(96,170,255,.22) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.detail-mini-note{
  color: #bccbe5 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.detail-day-actions{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
}

.detail-day-actions .nexus-btn{
  min-height: 40px !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.detail-day-actions .ghost{
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #f4f7ff !important;
}

.detail-day-actions .ghost:hover{
  border-color: rgba(244,197,70,.50) !important;
  background: rgba(244,197,70,.08) !important;
  color: #fff !important;
}

.detail-day-tip{
  margin-bottom: 14px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(96,170,255,.10), rgba(96,170,255,.06)) !important;
  border: 1px solid rgba(96,170,255,.20) !important;
  color: #dce9ff !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* Tabla de horarios */
.detail-grid{
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(7,13,24,.14) !important;
}

.detail-table{
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.detail-table thead th{
  background: linear-gradient(180deg, rgba(13,19,36,.98), rgba(11,17,31,.98)) !important;
  color: #f6f8ff !important;
  padding: 12px 14px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.detail-table .hour-cell{
  width: 84px !important;
  min-width: 84px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: linear-gradient(180deg, rgba(13,20,36,.96), rgba(10,16,29,.96)) !important;
  color: #dce8ff !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  border-right: 1px solid rgba(255,255,255,.07) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 0 8px !important;
}

.detail-table .day-slot{
  height: 68px !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  transition: .14s ease !important;
}

.detail-table .day-slot.selected{
  box-shadow: inset 0 0 0 1px rgba(244,197,70,.60) !important;
  background: linear-gradient(180deg, rgba(244,197,70,.09), rgba(244,197,70,.04)) !important;
}

.detail-table .day-slot:hover{
  transform: none !important;
}

/* Nueva forma más viva del estado */
.public-availability .availability-row{
  min-height: 68px !important;
  padding: 10px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap: 16px !important;
}

.public-availability .availability-main{
  display:flex !important;
  align-items:center !important;
  gap: 12px !important;
}

.public-availability .availability-dot{
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  flex: 0 0 auto !important;
  box-shadow: 0 0 0 4px rgba(255,255,255,.02) !important;
}

.public-availability .availability-text{
  display:flex !important;
  flex-direction:column !important;
  gap: 2px !important;
}

.public-availability strong{
  display:block !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

.public-availability small{
  display:block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #a8b9d6 !important;
  margin: 0 !important;
}

.availability-pill{
  min-width: 122px !important;
  text-align:center !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

/* Disponible */
.public-availability.is-free{
  background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.01)) !important;
}

.public-availability.is-free:hover{
  background: linear-gradient(90deg, rgba(44,166,116,.09), rgba(44,166,116,.04)) !important;
}

.public-availability.is-free .availability-dot{
  background: #44d69d !important;
  box-shadow:
    0 0 0 4px rgba(68,214,157,.10),
    0 0 12px rgba(68,214,157,.18) !important;
}

.public-availability.is-free .availability-pill{
  color: #dffdf1 !important;
  background: linear-gradient(180deg, rgba(32,153,109,.20), rgba(32,153,109,.11)) !important;
  border: 1px solid rgba(68,214,157,.35) !important;
}

/* No disponible */
.public-availability.is-full{
  background: linear-gradient(90deg, rgba(255,104,104,.08), rgba(255,104,104,.03)) !important;
}

.public-availability.is-full:hover{
  background: linear-gradient(90deg, rgba(255,104,104,.12), rgba(255,104,104,.05)) !important;
  cursor: not-allowed !important;
}

.public-availability.is-full .availability-dot{
  background: #ff7f7f !important;
  box-shadow:
    0 0 0 4px rgba(255,127,127,.10),
    0 0 12px rgba(255,127,127,.15) !important;
}

.public-availability.is-full strong{
  color: #ffe4e4 !important;
}

.public-availability.is-full .availability-pill{
  color: #fff1f1 !important;
  background: linear-gradient(180deg, rgba(173,60,60,.24), rgba(173,60,60,.12)) !important;
  border: 1px solid rgba(255,127,127,.34) !important;
}

/* Alertas */
.alert-box{
  margin-bottom: 12px !important;
  padding: 11px 13px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.alert-box.ok{
  color: #e2fff0 !important;
  background: rgba(33,153,107,.13) !important;
  border: 1px solid rgba(68,214,157,.28) !important;
}

.alert-box.error{
  color: #ffe3e3 !important;
  background: rgba(173,60,60,.14) !important;
  border: 1px solid rgba(255,127,127,.26) !important;
}

/* Responsive */
@media (max-width: 1150px){
  .detail-day-layout{
    grid-template-columns: 1fr !important;
  }

  .day-request-panel{
    position: static !important;
  }
}

@media (max-width: 700px){
  .refined-form .form-row{
    grid-template-columns: 1fr !important;
  }

  .public-availability .availability-row{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .availability-pill{
    min-width: auto !important;
  }

  .detail-day-header{
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .detail-day-actions{
    justify-content: flex-start !important;
  }
}

/* Días pasados bloqueados */
.mini-day.blocked-past{
  opacity:.22 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
  color:#6f7b95 !important;
  background:#0d1424 !important;
  border-color:rgba(255,255,255,.03) !important;
  text-decoration:none !important;
}

.mini-day.blocked-past:hover{
  background:#0d1424 !important;
  color:#6f7b95 !important;
  border-color:rgba(255,255,255,.03) !important;
}

.alert-box.warning{
  display:block;
  color:#fff4d0;
  background:rgba(244,197,70,.12);
  border:1px solid rgba(244,197,70,.28);
}

.public-availability.is-past{
  opacity:.55 !important;
  background:rgba(255,255,255,.025) !important;
  cursor:not-allowed !important;
}

.public-availability.is-past .availability-dot{
  background:#7d879c !important;
  box-shadow:0 0 0 4px rgba(125,135,156,.08) !important;
}

.public-availability.is-past strong,
.public-availability.is-past small{
  color:#aeb7c9 !important;
}

.public-availability.is-past .availability-pill{
  color:#c7cfdd !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.selected-summary{
  display:grid;
  gap:10px;
  margin:14px 0 14px;
}

.selected-summary > div{
  border:1px solid rgba(96,170,255,.18);
  border-radius:15px;
  padding:12px;
  background:rgba(96,170,255,.06);
}

.selected-summary span{
  display:block;
  color:#aebfe0;
  font-size:12px;
  font-weight:800;
  margin-bottom:4px;
}

.selected-summary strong{
  display:block;
  color:#ffffff;
  font-size:15px;
  font-weight:900;
}

.detail-submit-btn:disabled{
  opacity:.55 !important;
  cursor:not-allowed !important;
  filter:grayscale(.2);
}

.public-availability.selected{
  background:linear-gradient(90deg, rgba(244,197,70,.16), rgba(244,197,70,.06)) !important;
  box-shadow:inset 0 0 0 1px rgba(244,197,70,.70) !important;
}

.public-availability.selected .availability-dot{
  background:#f4c546 !important;
  box-shadow:0 0 0 4px rgba(244,197,70,.12), 0 0 12px rgba(244,197,70,.18) !important;
}

.public-availability.selected .availability-pill{
  color:#1b2336 !important;
  background:linear-gradient(180deg, #f4c546, #dfaa22) !important;
  border-color:rgba(244,197,70,.7) !important;
}

.detail-table .day-slot{
  height:56px !important;
}

.public-availability .availability-row{
  min-height:56px !important;
}

.public-availability.selected{
  background:linear-gradient(90deg, rgba(244,197,70,.17), rgba(244,197,70,.07)) !important;
  box-shadow:inset 0 0 0 1px rgba(244,197,70,.72) !important;
}

.public-availability.selected .availability-dot{
  background:#f4c546 !important;
  box-shadow:0 0 0 4px rgba(244,197,70,.12), 0 0 12px rgba(244,197,70,.20) !important;
}

.public-availability.selected .availability-pill{
  color:#1b2336 !important;
  background:linear-gradient(180deg, #f4c546, #dfaa22) !important;
  border-color:rgba(244,197,70,.7) !important;
}

.selected-summary{
  display:grid;
  gap:10px;
  margin:14px 0 14px;
}

.selected-summary > div{
  border:1px solid rgba(96,170,255,.18);
  border-radius:15px;
  padding:12px;
  background:rgba(96,170,255,.06);
}

.selected-summary span{
  display:block;
  color:#aebfe0;
  font-size:12px;
  font-weight:800;
  margin-bottom:4px;
}

.selected-summary strong{
  display:block;
  color:#ffffff;
  font-size:15px;
  font-weight:900;
}

.detail-submit-btn:disabled{
  opacity:.55 !important;
  cursor:not-allowed !important;
  filter:grayscale(.2);
}

/* Modal central de confirmación */
.success-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(3,8,18,.55);
  backdrop-filter:blur(6px);
}

.success-modal.show{
  display:flex;
  animation:modalFadeIn .18s ease-out;
}

.success-modal-card{
  width:min(420px, calc(100vw - 32px));
  border-radius:24px;
  padding:30px 26px;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(68,214,157,.14), transparent 38%),
    linear-gradient(180deg, rgba(35,48,74,.98), rgba(22,31,50,.98));
  border:1px solid rgba(68,214,157,.28);
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}

.success-icon{
  width:64px;
  height:64px;
  margin:0 auto 14px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#10261d;
  background:linear-gradient(180deg, #6cf2b9, #30c987);
  font-size:34px;
  font-weight:900;
  box-shadow:0 10px 28px rgba(48,201,135,.26);
}

.success-modal-card h2{
  margin:0 0 8px;
  color:#ffffff;
  font-size:24px;
  font-weight:900;
}

.success-modal-card p{
  margin:0;
  color:#d7e4f6;
  line-height:1.45;
  font-size:15px;
}

/* Estado solicitado: visible, pero no bloquea */
.public-availability.is-requested{
  background:linear-gradient(90deg, rgba(244,197,70,.11), rgba(244,197,70,.04)) !important;
}

.public-availability.is-requested .availability-dot{
  background:#f4c546 !important;
  box-shadow:0 0 0 4px rgba(244,197,70,.10), 0 0 12px rgba(244,197,70,.18) !important;
}

.public-availability.is-requested .availability-pill{
  color:#302100 !important;
  background:linear-gradient(180deg, #ffd867, #e9b931) !important;
  border-color:rgba(244,197,70,.60) !important;
}

.public-availability.is-requested strong{
  color:#fff3cc !important;
}

@keyframes modalFadeIn{
  from{
    opacity:0;
    transform:scale(.98);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

/* Modal central de confirmación */
.success-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(3,8,18,.55);
  backdrop-filter:blur(6px);
}

.success-modal.show{
  display:flex;
  animation:modalFadeIn .18s ease-out;
}

.success-modal-card{
  width:min(420px, calc(100vw - 32px));
  border-radius:24px;
  padding:30px 26px;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(68,214,157,.14), transparent 38%),
    linear-gradient(180deg, rgba(35,48,74,.98), rgba(22,31,50,.98));
  border:1px solid rgba(68,214,157,.28);
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}

.success-icon{
  width:64px;
  height:64px;
  margin:0 auto 14px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#10261d;
  background:linear-gradient(180deg, #6cf2b9, #30c987);
  font-size:34px;
  font-weight:900;
  box-shadow:0 10px 28px rgba(48,201,135,.26);
}

.success-modal-card h2{
  margin:0 0 8px;
  color:#ffffff;
  font-size:24px;
  font-weight:900;
}

.success-modal-card p{
  margin:0;
  color:#d7e4f6;
  line-height:1.45;
  font-size:15px;
}

/* Estado solicitado: visible, pero no bloquea */
.public-availability.is-requested{
  background:linear-gradient(90deg, rgba(244,197,70,.11), rgba(244,197,70,.04)) !important;
}

.public-availability.is-requested .availability-dot{
  background:#f4c546 !important;
  box-shadow:0 0 0 4px rgba(244,197,70,.10), 0 0 12px rgba(244,197,70,.18) !important;
}

.public-availability.is-requested .availability-pill{
  color:#302100 !important;
  background:linear-gradient(180deg, #ffd867, #e9b931) !important;
  border-color:rgba(244,197,70,.60) !important;
}

.public-availability.is-requested strong{
  color:#fff3cc !important;
}

@keyframes modalFadeIn{
  from{
    opacity:0;
    transform:scale(.98);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

/* =========================
   HEADER PUBLICO REFINADO
   ========================= */
.refined-topbar{
  min-height:72px;
  padding:10px 22px !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:
    linear-gradient(180deg, rgba(7,14,29,.98), rgba(9,19,40,.95)),
    radial-gradient(circle at top left, rgba(64,133,255,.12), transparent 28%);
  border-bottom:1px solid rgba(98,136,211,.18);
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.refined-brand{
  display:flex !important;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand-logo-wrap{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(112,145,220,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
  flex:0 0 48px;
}

.brand-logo{
  max-width:38px;
  max-height:38px;
  object-fit:contain;
  display:block;
}

.brand-text-wrap{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-main{
  color:#ffffff;
  font-weight:900;
  font-size:26px;
  letter-spacing:-.02em;
}

.brand-sub{
  color:#f4c546;
  font-size:12px;
  font-weight:800;
  margin-top:4px;
}

.compact-login-btn{
  min-height:auto !important;
  padding:10px 18px !important;
  font-size:15px !important;
  font-weight:800 !important;
  border-radius:999px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#ffffff !important;
  box-shadow:none !important;
}

.compact-login-btn:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, rgba(244,197,70,.18), rgba(244,197,70,.08)) !important;
  border-color:rgba(244,197,70,.35) !important;
}

/* =========================
   PANEL IZQUIERDO REFINADO
   ========================= */
.refined-request-panel{
  border-radius:24px !important;
  padding:18px 16px 18px !important;
  background:
    linear-gradient(180deg, rgba(36,47,76,.96), rgba(24,33,55,.96)),
    radial-gradient(circle at top left, rgba(244,197,70,.10), transparent 30%);
  border:1px solid rgba(123,148,206,.16) !important;
  box-shadow:
    0 20px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.refined-panel-head{
  padding-bottom:10px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.refined-request-panel .side-kicker{
  color:#f4c546 !important;
  font-size:13px !important;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:900 !important;
  margin-bottom:8px;
}

.refined-request-panel h2{
  color:#ffffff !important;
  font-size:20px !important;
  line-height:1.1;
  margin:0 0 10px !important;
  font-weight:900 !important;
  letter-spacing:-.02em;
}

.refined-request-panel p{
  color:#d0dbef !important;
  font-size:14px !important;
  line-height:1.45;
  margin:0 0 14px !important;
}

.refined-request-panel .form-group{
  margin-bottom:12px !important;
}

.refined-request-panel label{
  display:block;
  color:#eef4ff !important;
  font-size:13px !important;
  font-weight:800 !important;
  margin-bottom:6px !important;
}

.refined-request-panel .nexus-input,
.refined-request-panel .nexus-select,
.refined-request-panel .nexus-textarea{
  border-radius:16px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04)) !important;
  border:1px solid rgba(120,145,203,.22) !important;
  color:#ffffff !important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.08);
}

.refined-request-panel .nexus-input::placeholder,
.refined-request-panel .nexus-textarea::placeholder{
  color:#9eb0d1 !important;
}

.refined-request-panel .nexus-input:focus,
.refined-request-panel .nexus-select:focus,
.refined-request-panel .nexus-textarea:focus{
  outline:none !important;
  border-color:rgba(244,197,70,.45) !important;
  box-shadow:0 0 0 3px rgba(244,197,70,.10) !important;
}

.refined-selected-summary{
  gap:10px !important;
}

.refined-selected-summary > div{
  border-radius:16px !important;
  background:
    linear-gradient(180deg, rgba(64,105,192,.18), rgba(64,105,192,.08)) !important;
  border:1px solid rgba(105,141,221,.18) !important;
  padding:12px 14px !important;
}

.refined-selected-summary span{
  color:#a9bce0 !important;
  font-size:11px !important;
  font-weight:900 !important;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.refined-selected-summary strong{
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:900 !important;
}

.refined-request-panel .alert-box{
  border-radius:16px !important;
  padding:12px 14px !important;
}

.refined-request-panel .detail-submit-btn,
.refined-request-panel .nexus-btn[type="submit"]{
  width:100%;
  border-radius:18px !important;
  min-height:48px !important;
  font-size:15px !important;
  font-weight:900 !important;
  letter-spacing:.01em;
  background:linear-gradient(180deg, #f4c546, #dca41b) !important;
  color:#1c2130 !important;
  border:1px solid rgba(244,197,70,.55) !important;
  box-shadow:0 14px 28px rgba(244,197,70,.15);
}

.refined-request-panel .detail-submit-btn:disabled,
.refined-request-panel .nexus-btn[type="submit"]:disabled{
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05)) !important;
  color:#9eacc8 !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:none !important;
}

/* Mejora visual de selects */
.refined-request-panel select option{
  background:#1b2440;
  color:#ffffff;
}

/* Responsive */
@media (max-width: 900px){
  .brand-main{
    font-size:20px;
  }

  .brand-sub{
    font-size:11px;
  }

  .brand-logo-wrap{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .brand-logo{
    max-width:32px;
    max-height:32px;
  }

  .compact-login-btn{
    padding:9px 14px !important;
    font-size:14px !important;
  }
}

/* =========================
   HEADER PUBLICO LIMPIO
   ========================= */
.public-header-clean{
  position:sticky;
  top:0;
  z-index:100;
  background:
    linear-gradient(180deg, rgba(6,12,25,.98), rgba(8,18,39,.96)),
    radial-gradient(circle at top left, rgba(57,104,211,.12), transparent 25%);
  border-bottom:1px solid rgba(91,120,188,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.public-header-inner{
  max-width: 1600px;
  margin: 0 auto;
  min-height: 74px;
  padding: 10px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.public-brand-clean{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
}

.public-brand-logo-box{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.public-brand-logo{
  max-width:38px;
  max-height:38px;
  object-fit:contain;
  display:block;
  mix-blend-mode:multiply;
}

.public-brand-texts{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.public-brand-title{
  color:#ffffff;
  font-size:29px;
  font-weight:900;
  line-height:1;
  letter-spacing:-0.02em;
  white-space:nowrap;
}

.public-brand-subtitle{
  margin-top:5px;
  color:#f4c546;
  font-size:12px;
  font-weight:800;
  line-height:1.1;
  white-space:nowrap;
}

.public-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.header-btn-clean{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:800;
  color:#ffffff;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  transition:.18s ease;
}

.header-btn-clean:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, rgba(244,197,70,.20), rgba(244,197,70,.08));
  border-color:rgba(244,197,70,.38);
  color:#fffaf0;
}

.public-main-wrap{
  max-width: 100%;
}

/* Si el logo tiene fondo feo o blanco, que no se note tanto */
.public-brand-logo-box img[src$=".png"]{
  background:transparent;
}

/* Responsive */
@media (max-width: 900px){
  .public-header-inner{
    padding:10px 14px;
    min-height:68px;
  }

  .public-brand-logo-box{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .public-brand-logo{
    max-width:32px;
    max-height:32px;
  }

  .public-brand-title{
    font-size:21px;
  }

  .public-brand-subtitle{
    font-size:10px;
  }

  .header-btn-clean{
    min-height:40px;
    padding:0 14px;
    font-size:14px;
  }
}

@media (max-width: 640px){
  .public-brand-subtitle{
    display:none;
  }

  .public-brand-title{
    font-size:18px;
  }
}

/* =========================
   HEADER FINAL UFBP
   ========================= */
.ufbp-header{
  position:sticky;
  top:0;
  z-index:100;
  background:
    radial-gradient(circle at top left, rgba(64,126,255,.12), transparent 28%),
    linear-gradient(180deg, #080f20 0%, #0b1730 100%);
  border-bottom:1px solid rgba(118,148,220,.16);
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}

.ufbp-header-inner{
  width:100%;
  min-height:72px;
  padding:10px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.ufbp-brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
}

.ufbp-logo-box{
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  overflow:hidden;
}

.ufbp-logo{
  max-width:46px;
  max-height:46px;
  object-fit:contain;
  display:block;
  background:transparent !important;
}

.ufbp-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.ufbp-title{
  color:#ffffff;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.02em;
  white-space:nowrap;
}

.ufbp-subtitle{
  margin-top:5px;
  color:#f4c546;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.ufbp-header-actions{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.ufbp-login-btn{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  color:#eef4ff;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:none;
  transition:.16s ease;
}

.ufbp-login-btn:hover{
  color:#fff;
  background:rgba(244,197,70,.11);
  border-color:rgba(244,197,70,.36);
  transform:translateY(-1px);
}

@media (max-width:700px){
  .ufbp-header-inner{
    padding:9px 14px;
    min-height:64px;
  }

  .ufbp-logo-box{
    width:44px;
    height:44px;
    flex-basis:44px;
  }

  .ufbp-logo{
    max-width:38px;
    max-height:38px;
  }

  .ufbp-title{
    font-size:18px;
  }

  .ufbp-subtitle{
    display:none;
  }

  .ufbp-login-btn{
    min-height:36px;
    padding:0 13px;
    font-size:13px;
  }
}

/* =========================
   HEADER NEXUS UFBP
   ========================= */
.ufbp-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at top left, rgba(64,126,255,.10), transparent 30%),
    linear-gradient(180deg, #071120 0%, #0a1730 100%);
  border-bottom: 1px solid rgba(118,148,220,.14);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.ufbp-header-inner{
  width: 100%;
  min-height: 74px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ufbp-brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.ufbp-logo-large{
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.ufbp-brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.ufbp-title{
  color:#ffffff;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.02em;
  white-space:nowrap;
}

.ufbp-subtitle{
  margin-top:4px;
  color:#f4c546;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.ufbp-header-actions{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.ufbp-login-btn{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:999px;
  color:#eef4ff;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  transition:.16s ease;
}

.ufbp-login-btn:hover{
  color:#fff;
  background:rgba(244,197,70,.11);
  border-color:rgba(244,197,70,.36);
  transform:translateY(-1px);
}

/* Oculta cajas viejas del logo si quedaron */
.public-brand-logo-box,
.brand-logo-wrap,
.ufbp-logo-box{
  display:none !important;
}

@media (max-width:700px){
  .ufbp-header-inner{
    padding:8px 14px;
    min-height:64px;
  }

  .ufbp-logo-large{
    height:42px;
  }

  .ufbp-title{
    font-size:18px;
  }

  .ufbp-subtitle{
    display:none;
  }

  .ufbp-login-btn{
    min-height:36px;
    padding:0 13px;
    font-size:13px;
  }
}

/* ==========================================
   HEADER PUBLICO ELEGANTE - UFBP
   ========================================== */
.ufbp-header-clean{
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 12% 30%, rgba(77, 129, 255, 0.14), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(244, 197, 70, 0.08), transparent 22%),
    linear-gradient(180deg, #06101f 0%, #0a1730 100%);
  border-bottom: 1px solid rgba(111, 144, 219, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.ufbp-header-clean-inner{
  width: 100%;
  min-height: 82px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ufbp-brand-clean{
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.ufbp-brand-logo-clean{
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
}

.ufbp-brand-copy-clean{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ufbp-brand-title-clean{
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ufbp-brand-subtitle-clean{
  margin-top: 4px;
  color: #f4c546;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ufbp-header-right-clean{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ufbp-login-clean{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  color: #eef4ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: all .18s ease;
}

.ufbp-login-clean:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(244,197,70,.18), rgba(244,197,70,.08));
  border-color: rgba(244,197,70,.34);
  color: #fff;
}

/* Oculta restos de headers anteriores si quedaron estilos viejos */
.ufbp-logo-box,
.public-brand-logo-box,
.public-brand-logo,
.public-brand-clean,
.public-brand-title,
.public-brand-subtitle,
.ufbp-title,
.ufbp-subtitle{
  all: unset;
}

@media (max-width: 900px){
  .ufbp-header-clean-inner{
    min-height: 72px;
    padding: 10px 14px;
    gap: 12px;
  }

  .ufbp-brand-logo-clean{
    height: 46px;
  }

  .ufbp-brand-title-clean{
    font-size: 19px;
  }

  .ufbp-brand-subtitle-clean{
    font-size: 10px;
  }

  .ufbp-login-clean{
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 640px){
  .ufbp-brand-subtitle-clean{
    display: none;
  }

  .ufbp-brand-title-clean{
    font-size: 16px;
  }

  .ufbp-brand-logo-clean{
    height: 40px;
  }
}

/* ==========================================
   HEADER PUBLICO ELEGANTE - UFBP
   ========================================== */
.ufbp-header-clean{
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 12% 30%, rgba(77, 129, 255, 0.14), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(244, 197, 70, 0.08), transparent 22%),
    linear-gradient(180deg, #06101f 0%, #0a1730 100%);
  border-bottom: 1px solid rgba(111, 144, 219, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.ufbp-header-clean-inner{
  width: 100%;
  min-height: 82px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ufbp-brand-clean{
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.ufbp-brand-logo-clean{
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
}

.ufbp-brand-copy-clean{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ufbp-brand-title-clean{
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ufbp-brand-subtitle-clean{
  margin-top: 4px;
  color: #f4c546;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ufbp-header-right-clean{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ufbp-login-clean{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  color: #eef4ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: all .18s ease;
}

.ufbp-login-clean:hover{
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(244,197,70,.18), rgba(244,197,70,.08));
  border-color: rgba(244,197,70,.34);
  color: #fff;
}

/* Oculta restos de headers anteriores si quedaron estilos viejos */
.ufbp-logo-box,
.public-brand-logo-box,
.public-brand-logo,
.public-brand-clean,
.public-brand-title,
.public-brand-subtitle,
.ufbp-title,
.ufbp-subtitle{
  all: unset;
}

@media (max-width: 900px){
  .ufbp-header-clean-inner{
    min-height: 72px;
    padding: 10px 14px;
    gap: 12px;
  }

  .ufbp-brand-logo-clean{
    height: 46px;
  }

  .ufbp-brand-title-clean{
    font-size: 19px;
  }

  .ufbp-brand-subtitle-clean{
    font-size: 10px;
  }

  .ufbp-login-clean{
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }
}

@media (max-width: 640px){
  .ufbp-brand-subtitle-clean{
    display: none;
  }

  .ufbp-brand-title-clean{
    font-size: 16px;
  }

  .ufbp-brand-logo-clean{
    height: 40px;
  }
}

/* ==========================================
   HEADER COMPACTO ELEGANTE UFBP
   ========================================== */

.ufbp-top-elegant{
  position:sticky;
  top:0;
  z-index:100;
  background:
    radial-gradient(circle at 8% 0%, rgba(65,126,255,.16), transparent 28%),
    radial-gradient(circle at 72% 0%, rgba(244,197,70,.08), transparent 24%),
    linear-gradient(180deg, #06101f 0%, #09162d 100%);
  border-bottom:1px solid rgba(126,154,221,.16);
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}

.ufbp-top-inner-elegant{
  min-height:76px;
  padding:8px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.ufbp-brand-elegant{
  display:flex;
  align-items:center;
  gap:18px;
  text-decoration:none;
  min-width:0;
}

.ufbp-logo-elegant{
  height:58px;
  width:auto;
  max-width:190px;
  object-fit:contain;
  display:block;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.22));
}

.ufbp-identity-elegant{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.ufbp-chip-elegant{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 16px;
  border-radius:999px;
  color:#1b2435;
  font-size:16px;
  font-weight:950;
  letter-spacing:.08em;
  background:linear-gradient(180deg, #ffd866 0%, #e6ad24 100%);
  border:1px solid rgba(255,216,102,.72);
  box-shadow:
    0 10px 22px rgba(244,197,70,.18),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.ufbp-caption-elegant{
  color:#d9e5ff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.01em;
  opacity:.88;
  white-space:nowrap;
}

.ufbp-actions-elegant{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.ufbp-login-elegant{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  color:#edf4ff;
  font-size:14px;
  font-weight:800;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
  transition:.16s ease;
}

.ufbp-login-elegant:hover{
  transform:translateY(-1px);
  color:#ffffff;
  background:rgba(244,197,70,.12);
  border-color:rgba(244,197,70,.38);
}

@media (max-width:800px){
  .ufbp-top-inner-elegant{
    min-height:66px;
    padding:8px 14px;
  }

  .ufbp-logo-elegant{
    height:44px;
    max-width:145px;
  }

  .ufbp-caption-elegant{
    display:none;
  }

  .ufbp-chip-elegant{
    min-height:30px;
    padding:0 12px;
    font-size:13px;
  }

  .ufbp-login-elegant{
    min-height:34px;
    padding:0 12px;
    font-size:13px;
  }
}

/* ==========================================
   HEADER FINAL LIMPIO SIN CAPSULA
   ========================================== */

.ufbp-header-final{
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 10% 10%, rgba(53, 108, 219, 0.15), transparent 28%),
    radial-gradient(circle at 72% 10%, rgba(244, 197, 70, 0.06), transparent 22%),
    linear-gradient(180deg, #07101f 0%, #0a1730 100%);
  border-bottom: 1px solid rgba(108, 138, 214, 0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.ufbp-header-final-inner{
  min-height: 78px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ufbp-header-brand-final{
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.ufbp-header-logo-final{
  height: 56px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.18));
}

.ufbp-header-text-final{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ufbp-header-title-final{
  color: #f4f7ff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.ufbp-header-subtitle-final{
  margin-top: 3px;
  color: #f4c546;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ufbp-header-actions-final{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ufbp-header-login-final{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #edf4ff;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  transition: .16s ease;
}

.ufbp-header-login-final:hover{
  transform: translateY(-1px);
  color: #fff;
  background: rgba(244,197,70,.10);
  border-color: rgba(244,197,70,.35);
}

@media (max-width: 900px){
  .ufbp-header-final-inner{
    min-height: 70px;
    padding: 8px 14px;
    gap: 12px;
  }

  .ufbp-header-logo-final{
    height: 44px;
    max-width: 150px;
  }

  .ufbp-header-title-final{
    font-size: 18px;
  }

  .ufbp-header-subtitle-final{
    font-size: 10px;
  }

  .ufbp-header-login-final{
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 640px){
  .ufbp-header-title-final{
    font-size: 15px;
  }

  .ufbp-header-subtitle-final{
    display: none;
  }

  .ufbp-header-logo-final{
    height: 38px;
    max-width: 120px;
  }
}

/* ==========================================
   PORTADA PRINCIPAL ELEGANTE
   ========================================== */

.ufbp-home-hero{
  margin: 8px 0 18px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(103, 131, 199, 0.22);
  background:
    radial-gradient(circle at 82% 18%, rgba(127, 185, 255, 0.16), transparent 24%),
    radial-gradient(circle at 18% 18%, rgba(244, 197, 70, 0.10), transparent 22%),
    linear-gradient(135deg, rgba(27,36,67,.94) 0%, rgba(37,47,78,.96) 38%, rgba(56,79,110,.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 18px 38px rgba(0,0,0,.22);
}

.ufbp-home-hero-inner{
  padding: 34px 30px 32px;
}

.ufbp-home-kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f4c546;
  background: rgba(9,16,33,.28);
  border: 1px solid rgba(244,197,70,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.ufbp-home-title{
  margin: 18px 0 12px;
  line-height: .98;
  letter-spacing: -0.03em;
}

.ufbp-home-title-top{
  display: block;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  background: linear-gradient(90deg, #f7fbff 0%, #d9e7ff 32%, #9ec1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.ufbp-home-title-bottom{
  display: block;
  margin-top: 4px;
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 900;
  background: linear-gradient(90deg, #ffd86e 0%, #f4c546 34%, #fff0b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.ufbp-home-subtitle{
  max-width: 920px;
  margin: 0;
  color: #e5eefc;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  text-wrap: balance;
}

.ufbp-home-grid{
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  gap: 16px;
  margin-top: 18px;
}

.ufbp-home-card{
  position: relative;
  border-radius: 26px;
  padding: 28px 22px 22px;
  background:
    linear-gradient(180deg, rgba(43,54,89,.92) 0%, rgba(36,45,78,.94) 100%);
  border: 1px solid rgba(104, 132, 199, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 12px 28px rgba(0,0,0,.18);
}

.ufbp-home-card-accent{
  position: absolute;
  top: 0;
  left: 22px;
  width: 88px;
  height: 4px;
  border-radius: 999px;
}

.ufbp-home-card-accent-gold{
  background: linear-gradient(90deg, #ffd45f 0%, #f4c546 100%);
  box-shadow: 0 0 18px rgba(244,197,70,.35);
}

.ufbp-home-card-accent-blue{
  background: linear-gradient(90deg, #62b5ff 0%, #4b8eff 100%);
  box-shadow: 0 0 18px rgba(75,142,255,.30);
}

.ufbp-home-card h2{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 850;
  color: #f7faff;
  letter-spacing: -0.02em;
}

.ufbp-home-card p{
  margin: 0;
  color: #deebff;
  font-size: 16px;
  line-height: 1.65;
}

.ufbp-home-card-actions{
  margin-top: 22px;
}

.ufbp-btn-primary-gold,
.ufbp-btn-primary-blue{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  transition: .18s ease;
}

.ufbp-btn-primary-gold{
  color: #16140d;
  background: linear-gradient(180deg, #ffd45f 0%, #f4c546 100%);
  box-shadow: 0 10px 20px rgba(244,197,70,.22);
}

.ufbp-btn-primary-gold:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.ufbp-btn-primary-blue{
  color: #ffffff;
  background: linear-gradient(180deg, #69bbff 0%, #4d90ff 100%);
  box-shadow: 0 10px 20px rgba(77,144,255,.20);
}

.ufbp-btn-primary-blue:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.ufbp-home-footer-strip{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d7e5fb;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(20,46,89,.85), rgba(29,64,116,.65));
  border: 1px solid rgba(84, 131, 205, 0.24);
}

.ufbp-home-footer-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4c546;
  flex: 0 0 auto;
}

@media (max-width: 980px){
  .ufbp-home-grid{
    grid-template-columns: 1fr;
  }

  .ufbp-home-hero-inner{
    padding: 24px 18px 24px;
  }

  .ufbp-home-subtitle{
    font-size: 17px;
  }

  .ufbp-home-footer-strip{
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .ufbp-home-footer-dot{
    display: none;
  }
}

/* ==========================================
   HEADER SIN PARPADEO DE LOGO
   ========================================== */

.nexus-head-noflash{
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(circle at 12% 10%, rgba(44, 105, 230, .14), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #0a1730 100%);
  border-bottom: 1px solid rgba(113, 145, 216, .17);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

.nexus-head-noflash-inner{
  min-height: 74px;
  padding: 8px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nexus-brand-noflash{
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  min-width: 0;
}

.nexus-logo-noflash{
  width: 178px;
  height: 58px;
  flex: 0 0 178px;
  display: block;
  background-image: url("/static/img/nexus-logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.20));
}

.nexus-brand-copy-noflash{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.nexus-brand-title-noflash{
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #dce8ff 48%, #9fbfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nexus-brand-subtitle-noflash{
  margin-top: 4px;
  color: #f4c546;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nexus-head-actions-noflash{
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nexus-login-noflash{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #edf4ff;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  transition: .16s ease;
}

.nexus-login-noflash:hover{
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(244,197,70,.10);
  border-color: rgba(244,197,70,.35);
}

/* Anula logos anteriores para que no aparezcan dobles ni parpadeen */
.ufbp-logo-elegant,
.ufbp-header-logo-final,
.ufbp-brand-logo-clean,
.ufbp-logo-large,
.public-brand-logo,
.brand-logo{
  display: none !important;
}

@media (max-width: 900px){
  .nexus-head-noflash-inner{
    min-height: 66px;
    padding: 8px 14px;
    gap: 12px;
  }

  .nexus-logo-noflash{
    width: 132px;
    height: 46px;
    flex-basis: 132px;
  }

  .nexus-brand-title-noflash{
    font-size: 17px;
  }

  .nexus-brand-subtitle-noflash{
    font-size: 10px;
  }

  .nexus-login-noflash{
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 640px){
  .nexus-brand-subtitle-noflash{
    display: none;
  }

  .nexus-brand-title-noflash{
    font-size: 14px;
  }

  .nexus-logo-noflash{
    width: 110px;
    height: 40px;
    flex-basis: 110px;
  }
}

/* Corrección final: logo estable sin efecto cortina */
.nexus-logo-noflash,
.ufbp-header-logo-final,
.ufbp-brand-logo-clean,
.ufbp-logo-elegant,
.ufbp-logo-large{
  background-image: url("/static/img/nexus-logo-clean.png?v=20260526clean") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
}

.nexus-logo-noflash{
  width: 178px !important;
  height: 58px !important;
  flex: 0 0 178px !important;
  display: block !important;
  overflow: hidden !important;
  contain: layout paint style !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Si alguna imagen del logo queda en plantilla, que no genere salto visual */
.ufbp-header-logo-final,
.ufbp-brand-logo-clean,
.ufbp-logo-elegant,
.ufbp-logo-large{
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  width: auto !important;
  height: 56px !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ==========================================
   HOME PREMIUM - CUERPO PRINCIPAL
   ========================================== */

.home-premium{
  padding: 18px 20px 34px;
}

.home-premium-hero{
  min-height: 300px;
  border-radius: 30px;
  padding: 34px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 420px;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(105, 171, 255, .20), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(244, 197, 70, .13), transparent 25%),
    linear-gradient(135deg, rgba(37, 47, 78, .98), rgba(48, 66, 101, .96));
  border: 1px solid rgba(121, 150, 218, .22);
  box-shadow:
    0 24px 55px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.home-premium-kicker{
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffd65f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(6, 12, 26, .34);
  border: 1px solid rgba(244, 197, 70, .22);
}

.home-premium-hero h1{
  margin: 20px 0 14px;
  line-height: .98;
  letter-spacing: -.04em;
}

.home-premium-hero h1 span{
  display: block;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 950;
  background: linear-gradient(90deg, #ffffff, #dfeaff, #9bbcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-premium-hero h1 strong{
  display: block;
  margin-top: 4px;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 950;
  background: linear-gradient(90deg, #ffd45f, #f4c546, #fff0ad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-premium-hero p{
  max-width: 780px;
  margin: 0;
  color: #e7eefc;
  font-size: 19px;
  line-height: 1.55;
}

.home-premium-actions{
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-btn{
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  transition: .18s ease;
}

.home-btn:hover{
  transform: translateY(-1px);
}

.home-btn-gold{
  color: #19160d;
  background: linear-gradient(180deg, #ffd96a, #f1bd32);
  box-shadow: 0 14px 28px rgba(244,197,70,.22);
}

.home-btn-soft{
  color: #edf4ff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
}

.home-premium-panel{
  display: grid;
  gap: 14px;
}

.home-status-card{
  border-radius: 24px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(6, 12, 26, .30);
  border: 1px solid rgba(255,255,255,.09);
}

.home-status-dot{
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: #44d69d;
  box-shadow: 0 0 0 6px rgba(68,214,157,.10), 0 0 18px rgba(68,214,157,.24);
}

.home-status-card strong{
  display: block;
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 6px;
}

.home-status-card small{
  display: block;
  color: #c8d6ee;
  font-size: 14px;
  line-height: 1.45;
}

.home-mini-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-mini-grid div{
  min-height: 96px;
  border-radius: 22px;
  padding: 16px;
  background: rgba(9, 18, 39, .34);
  border: 1px solid rgba(255,255,255,.08);
}

.home-mini-grid strong{
  display: block;
  color: #ffd65f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-mini-grid span{
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
}

.home-feature-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-feature-card{
  position: relative;
  min-height: 210px;
  border-radius: 28px;
  padding: 28px 24px;
  background:
    linear-gradient(180deg, rgba(43, 54, 89, .94), rgba(35, 44, 75, .96));
  border: 1px solid rgba(118, 148, 218, .20);
  box-shadow:
    0 18px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}

.home-feature-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 86px;
  height: 4px;
  border-radius: 999px;
}

.feature-gold::before{
  background: #ffd45f;
  box-shadow: 0 0 20px rgba(244,197,70,.38);
}

.feature-blue::before{
  background: #66b7ff;
  box-shadow: 0 0 20px rgba(102,183,255,.34);
}

.home-feature-icon{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 18px;
}

.home-feature-card h2{
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.home-feature-card p{
  margin: 0;
  color: #dfeaff;
  font-size: 16px;
  line-height: 1.62;
}

.home-feature-card a{
  margin-top: 20px;
  display: inline-flex;
  color: #ffd65f;
  font-weight: 900;
  text-decoration: none;
}

.feature-blue a{
  color: #8dccff;
}

.home-process{
  margin-top: 18px;
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(102,183,255,.11), transparent 22%),
    linear-gradient(180deg, rgba(23, 38, 72, .90), rgba(18, 30, 59, .92));
  border: 1px solid rgba(99, 136, 205, .22);
}

.home-process-head span{
  color: #ffd65f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-process-head h2{
  margin: 8px 0 20px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.home-process-steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-step{
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.home-step b{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #162033;
  background: linear-gradient(180deg, #ffd96a, #f1bd32);
  margin-bottom: 14px;
}

.home-step strong{
  display: block;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 8px;
}

.home-step span{
  color: #cbd8ef;
  font-size: 14px;
  line-height: 1.45;
}

.home-footer-premium{
  margin-top: 18px;
  min-height: 48px;
  border-radius: 22px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #e1ebff;
  font-weight: 850;
  background: linear-gradient(90deg, rgba(30, 58, 110, .70), rgba(25, 49, 92, .82));
  border: 1px solid rgba(102, 153, 225, .25);
}

.home-footer-premium i{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd65f;
}

@media (max-width: 1100px){
  .home-premium-hero{
    grid-template-columns: 1fr;
  }

  .home-premium-panel{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 850px){
  .home-feature-grid,
  .home-process-steps,
  .home-premium-panel{
    grid-template-columns: 1fr;
  }

  .home-premium{
    padding: 12px;
  }

  .home-premium-hero{
    padding: 24px 18px;
  }

  .home-premium-hero p{
    font-size: 16px;
  }

  .home-footer-premium{
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .home-footer-premium i{
    display: none;
  }
}

/* =========================================================
   PORTADA TIPO CONSOLA - AZUL Y AMARILLO
   ========================================================= */

.np-console-page{
  min-height:calc(100vh - 84px);
  padding:26px;
  display:grid;
  grid-template-columns:340px minmax(0, 1fr) 350px;
  grid-template-rows:minmax(0, 1fr) 136px;
  gap:18px;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(106,168,255,.16), transparent 55%),
    radial-gradient(700px 420px at 15% 80%, rgba(242,201,76,.08), transparent 55%),
    linear-gradient(180deg, #050c1a, #08142a 55%, #081126);
}

.np-console-panel{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.050), rgba(255,255,255,.025));
  box-shadow:
    0 24px 54px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.np-console-left{
  border-radius:30px;
  padding:22px;
  display:flex;
  flex-direction:column;
}

.np-console-kicker{
  color:#f2c94c;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.np-console-left h1{
  margin:14px 0 10px;
  color:#f3f7ff;
  font-size:32px;
  line-height:1.05;
  letter-spacing:-1px;
  font-weight:950;
}

.np-console-intro{
  margin:0;
  color:#b9c6df;
  font-size:15px;
  line-height:1.5;
}

.np-action-list{
  margin-top:28px;
  display:grid;
  gap:14px;
}

.np-action-card{
  min-height:115px;
  border-radius:24px;
  padding:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.020));
  position:relative;
  overflow:hidden;
  text-decoration:none;
  display:block;
  transition:.16s ease;
}

.np-action-card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
}

.np-action-line{
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
}

.np-action-gold .np-action-line{
  background:#f2c94c;
}

.np-action-blue .np-action-line{
  background:#6aa8ff;
}

.np-action-card strong{
  display:block;
  color:#ffffff;
  font-size:21px;
  font-weight:900;
  margin-bottom:7px;
}

.np-action-card small{
  display:block;
  color:#b9c6df;
  font-size:14px;
  line-height:1.42;
}

.np-action-card em{
  display:inline-flex;
  margin-top:13px;
  font-style:normal;
  font-weight:900;
}

.np-action-gold em{
  color:#ffd968;
}

.np-action-blue em{
  color:#8fc1ff;
}

.np-left-note{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#9eb1d3;
  font-size:13px;
  line-height:1.45;
}

.np-console-center{
  border-radius:34px;
  padding:28px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto minmax(0, 1fr);
}

.np-console-center::before{
  content:"";
  position:absolute;
  width:560px;
  height:560px;
  left:50%;
  top:55%;
  transform:translate(-50%, -50%);
  border-radius:50%;
  background:
    radial-gradient(circle, rgba(242,201,76,.10), transparent 35%),
    conic-gradient(from 90deg, rgba(106,168,255,.22), rgba(242,201,76,.18), rgba(106,168,255,.22));
  opacity:.8;
  pointer-events:none;
}

.np-console-center::after{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  left:50%;
  top:55%;
  transform:translate(-50%, -50%);
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 68px rgba(255,255,255,.024),
    0 0 0 136px rgba(255,255,255,.016);
  pointer-events:none;
}

.np-center-head{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.np-center-head h2{
  margin:0;
  max-width:640px;
  color:#ffffff;
  font-size:40px;
  line-height:1.06;
  letter-spacing:-1.2px;
  font-weight:950;
}

.np-center-head h2 span{
  color:#ffd968;
}

.np-center-badge{
  padding:10px 14px;
  border-radius:18px;
  border:1px solid rgba(242,201,76,.24);
  background:rgba(242,201,76,.08);
  color:#ffeaa7;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}

.np-orbit-zone{
  position:relative;
  z-index:3;
  min-height:430px;
}

.np-orbit-core{
  position:absolute;
  left:50%;
  top:54%;
  transform:translate(-50%, -50%);
  width:255px;
  height:255px;
  border-radius:50%;
  background:linear-gradient(180deg, #0d1d3c, #132850);
  border:1px solid rgba(255,255,255,.14);
  display:grid;
  place-items:center;
  text-align:center;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}

.np-orbit-core strong{
  display:block;
  color:#ffffff;
  font-size:28px;
  font-weight:950;
}

.np-orbit-core small{
  display:block;
  margin-top:8px;
  color:#b9c6df;
  font-size:14px;
}

.np-orbit-node{
  position:absolute;
  width:210px;
  min-height:100px;
  border-radius:24px;
  padding:16px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(8,16,34,.70);
  backdrop-filter:blur(10px);
}

.np-orbit-node b{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  color:#132038;
  font-weight:950;
  margin-bottom:10px;
}

.np-node-1 b,
.np-node-3 b{
  background:#f2c94c;
}

.np-node-2 b,
.np-node-4 b{
  background:#8fc1ff;
}

.np-orbit-node strong{
  display:block;
  color:#ffffff;
  font-size:17px;
  font-weight:900;
}

.np-orbit-node small{
  display:block;
  margin-top:5px;
  color:#b9c6df;
  font-size:13px;
  line-height:1.35;
}

.np-node-1{
  left:5%;
  top:16%;
}

.np-node-2{
  right:4%;
  top:22%;
}

.np-node-3{
  right:12%;
  bottom:14%;
}

.np-node-4{
  left:10%;
  bottom:12%;
}

.np-console-right{
  border-radius:30px;
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.np-summary-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.np-summary-head h3{
  margin:0;
  color:#ffffff;
  font-size:23px;
  font-weight:950;
}

.np-summary-head span{
  color:#f2c94c;
  font-weight:950;
}

.np-summary-card{
  border-radius:24px;
  padding:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(135deg, rgba(12,24,50,.72), rgba(21,38,73,.60));
}

.np-summary-card small{
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.np-summary-gold small{
  color:#f2c94c;
}

.np-summary-blue small{
  color:#8fc1ff;
}

.np-summary-card strong{
  display:block;
  margin-top:9px;
  color:#ffffff;
  font-size:22px;
  font-weight:950;
}

.np-summary-card p{
  margin:8px 0 0;
  color:#b9c6df;
  line-height:1.42;
  font-size:14px;
}

.np-summary-note{
  margin-top:auto;
  border-radius:26px;
  padding:18px;
  border:1px solid rgba(106,168,255,.18);
  background:rgba(106,168,255,.08);
}

.np-summary-note strong{
  display:block;
  color:#eaf3ff;
  font-size:20px;
  font-weight:950;
}

.np-summary-note span{
  display:block;
  margin-top:8px;
  color:#c2d4ef;
  line-height:1.4;
  font-size:14px;
}

.np-console-bottom{
  grid-column:1 / -1;
  border-radius:30px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  overflow:hidden;
}

.np-bottom-step{
  padding:20px 22px;
  border-right:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.030);
}

.np-bottom-step:last-child{
  border-right:0;
}

.np-bottom-step span{
  font-size:12px;
  font-weight:950;
  letter-spacing:.12em;
}

.np-bottom-step:nth-child(odd) span{
  color:#f2c94c;
}

.np-bottom-step:nth-child(even) span{
  color:#8fc1ff;
}

.np-bottom-step strong{
  display:block;
  margin-top:9px;
  color:#ffffff;
  font-size:22px;
  font-weight:950;
}

.np-bottom-step p{
  margin:6px 0 0;
  color:#b9c6df;
  font-size:14px;
  line-height:1.35;
}

@media(max-width:1200px){
  .np-console-page{
    min-height:auto;
    grid-template-columns:1fr;
    grid-template-rows:auto;
  }

  .np-orbit-zone{
    min-height:520px;
  }

  .np-console-bottom{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .np-console-page{
    padding:14px;
    gap:14px;
  }

  .np-center-head{
    flex-direction:column;
  }

  .np-center-head h2{
    font-size:28px;
  }

  .np-orbit-zone{
    min-height:auto;
    display:grid;
    gap:12px;
    padding-top:18px;
  }

  .np-console-center::before,
  .np-console-center::after,
  .np-orbit-core{
    display:none;
  }

  .np-orbit-node{
    position:relative;
    width:100%;
    left:auto;
    right:auto;
    top:auto;
    bottom:auto;
  }

  .np-console-bottom{
    grid-template-columns:1fr;
  }

  .np-bottom-step{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .np-bottom-step:last-child{
    border-bottom:0;
  }
}

/* =========================================================
   PORTADA FOTO EMPAVONADA - SIMPLE Y CLARA
   ========================================================= */

.portal-photo-page{
  position:relative;
  min-height:calc(100vh - 74px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:44px 20px;
  overflow:hidden;
  background-image:url("/static/img/portal-fondo.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.portal-photo-page::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(35,54,108,.22), rgba(4,9,22,.76) 64%),
    linear-gradient(180deg, rgba(3,8,19,.42), rgba(3,8,19,.82));
  z-index:1;
}

.portal-photo-page::after{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter:blur(2.5px);
  z-index:2;
}

.portal-photo-overlay{
  position:absolute;
  inset:0;
  background:rgba(5,10,24,.18);
  z-index:3;
}

.portal-photo-content{
  position:relative;
  z-index:4;
  width:min(780px, 94vw);
  text-align:center;
  color:#ffffff;
}

.portal-photo-title span{
  display:block;
  font-size:17px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.82);
  margin-bottom:10px;
}

.portal-photo-title h1{
  margin:0;
  font-size:clamp(42px, 5.6vw, 74px);
  line-height:1;
  font-weight:300;
  letter-spacing:-.03em;
  color:#ffffff;
  text-shadow:0 10px 32px rgba(0,0,0,.36);
}

.portal-photo-title p{
  margin:14px 0 0;
  color:#f2c94c;
  font-size:18px;
  font-weight:700;
  letter-spacing:.03em;
  text-shadow:0 6px 22px rgba(0,0,0,.35);
}

.portal-choice-panel{
  margin:44px auto 0;
  width:min(660px, 100%);
  min-height:250px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  padding:28px 24px;
  border-radius:2px;
  background:rgba(21,25,43,.58);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 28px 80px rgba(0,0,0,.40),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(14px) saturate(120%);
}

.portal-choice-item{
  min-height:190px;
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#ffffff;
  border-radius:18px;
  transition:.18s ease;
}

.portal-choice-item + .portal-choice-item{
  border-left:1px solid rgba(255,255,255,.10);
}

.portal-choice-item:hover{
  background:rgba(255,255,255,.07);
  transform:translateY(-2px);
}

.portal-choice-icon{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
}

.portal-choice-icon svg{
  width:76px;
  height:76px;
  fill:none;
  stroke:rgba(255,255,255,.92);
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.28));
}

.portal-choice-item:hover .portal-choice-icon svg{
  stroke:#f2c94c;
}

.portal-choice-item strong{
  display:block;
  font-size:24px;
  font-weight:400;
  letter-spacing:-.01em;
  color:#ffffff;
}

.portal-choice-item small{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.70);
  font-size:14px;
  line-height:1.35;
}

.portal-photo-note{
  margin:34px auto 0;
  color:rgba(255,255,255,.82);
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em;
  text-shadow:0 8px 24px rgba(0,0,0,.38);
}

@media(max-width:760px){
  .portal-photo-page{
    min-height:calc(100vh - 66px);
    padding:28px 14px;
  }

  .portal-photo-title span{
    font-size:13px;
  }

  .portal-photo-title h1{
    font-size:42px;
  }

  .portal-photo-title p{
    font-size:15px;
  }

  .portal-choice-panel{
    margin-top:30px;
    grid-template-columns:1fr;
    padding:16px;
  }

  .portal-choice-item{
    min-height:160px;
  }

  .portal-choice-item + .portal-choice-item{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.10);
  }

  .portal-choice-icon{
    width:66px;
    height:66px;
  }

  .portal-choice-icon svg{
    width:64px;
    height:64px;
  }

  .portal-choice-item strong{
    font-size:21px;
  }
}

/* =========================================================
   CORRECCION: FOTO CLARA + PANEL EMPAVONADO
   ========================================================= */

.portal-photo-page{
  background-image:none !important;
  background-color:#050816 !important;
  isolation:isolate;
}

.portal-photo-page::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  background-image:url("/static/img/portal-fondo.png?v=fondo_claro_1") !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  filter:brightness(.82) contrast(1.04) saturate(1.08) !important;
  transform:none !important;
}

.portal-photo-page::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  background:
    radial-gradient(circle at center, rgba(5,10,24,.10), rgba(5,10,24,.36) 72%),
    linear-gradient(180deg, rgba(5,10,24,.18), rgba(5,10,24,.42)) !important;
  backdrop-filter:none !important;
}

.portal-photo-overlay{
  display:none !important;
}

.portal-photo-content{
  z-index:2 !important;
}

.portal-choice-panel{
  background:rgba(20,24,42,.48) !important;
  backdrop-filter:blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(125%) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:
    0 28px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.portal-choice-item:hover{
  background:rgba(255,255,255,.08) !important;
}

.portal-photo-title h1,
.portal-photo-title span,
.portal-photo-title p,
.portal-photo-note{
  text-shadow:0 8px 26px rgba(0,0,0,.55) !important;
}


/* =========================================================
   EFECTO VIDRIO TIPO MUESTRA
   ========================================================= */

.portal-photo-page::before{
  filter:brightness(.90) contrast(1.04) saturate(1.10) !important;
}

.portal-photo-page::after{
  background:
    radial-gradient(circle at center, rgba(10,16,40,.06), rgba(5,8,22,.30) 72%),
    linear-gradient(180deg, rgba(4,8,20,.10), rgba(4,8,20,.32)) !important;
}

.portal-choice-panel{
  width:min(720px, 100%) !important;
  min-height:285px !important;
  padding:36px 34px !important;
  border-radius:0 !important;

  background:
    linear-gradient(135deg, rgba(122,128,160,.38), rgba(55,59,91,.46)) !important;

  backdrop-filter:blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(135%) !important;

  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 30px 90px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(255,255,255,.04) !important;
}

.portal-choice-item{
  border-radius:10px !important;
}

.portal-choice-item:hover{
  background:rgba(255,255,255,.075) !important;
}

.portal-choice-item + .portal-choice-item{
  border-left:1px solid rgba(255,255,255,.12) !important;
}

.portal-choice-icon svg{
  stroke:rgba(255,255,255,.94) !important;
}

.portal-choice-item strong{
  font-weight:400 !important;
  color:rgba(255,255,255,.96) !important;
}

.portal-choice-item small{
  color:rgba(255,255,255,.68) !important;
}

.portal-photo-title h1{
  font-weight:300 !important;
}


/* =========================================================
   PANEL EMPAVONADO REAL: EL EFECTO LO HACE EL CUADRO
   ========================================================= */

.portal-choice-panel{
  position:relative !important;
  overflow:hidden !important;

  background:rgba(35, 38, 65, .18) !important;

  backdrop-filter:blur(18px) saturate(125%) brightness(1.08) !important;
  -webkit-backdrop-filter:blur(18px) saturate(125%) brightness(1.08) !important;

  border:1px solid rgba(255,255,255,.16) !important;

  box-shadow:
    0 28px 80px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,255,255,.05) !important;
}

/* Capa suave dentro del vidrio, no fondo sólido */
.portal-choice-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 35% 18%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.015) 55%, rgba(255,255,255,.045));
  opacity:.72;
  z-index:0;
}

/* El contenido queda encima del vidrio */
.portal-choice-item{
  position:relative !important;
  z-index:1 !important;
  background:transparent !important;
}

.portal-choice-item:hover{
  background:rgba(255,255,255,.055) !important;
}

/* La línea divisoria más sutil */
.portal-choice-item + .portal-choice-item{
  border-left:1px solid rgba(255,255,255,.10) !important;
}


/* =========================================================
   EMPAVONADO FINO TIPO REFERENCIA
   Solo afecta el cuadro central, no la foto
   ========================================================= */

.portal-choice-panel{
  width:min(720px, 100%) !important;
  min-height:285px !important;
  padding:36px 34px !important;
  border-radius:0 !important;

  background:
    linear-gradient(135deg,
      rgba(120,126,155,.18) 0%,
      rgba(83,88,118,.15) 42%,
      rgba(38,42,70,.12) 100%
    ) !important;

  backdrop-filter:blur(30px) brightness(1.20) saturate(.95) contrast(.96) !important;
  -webkit-backdrop-filter:blur(30px) brightness(1.20) saturate(.95) contrast(.96) !important;

  border:1px solid rgba(255,255,255,.045) !important;

  box-shadow:
    0 32px 90px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(255,255,255,.035) !important;
}

/* Quitamos el brillo circular anterior que hacía parecer mancha blanca */
.portal-choice-panel::before{
  display:none !important;
}

/* Separador más fino, como en vidrio */
.portal-choice-item + .portal-choice-item{
  border-left:1px solid rgba(255,255,255,.065) !important;
}

.portal-choice-item{
  background:transparent !important;
}

.portal-choice-item:hover{
  background:rgba(255,255,255,.045) !important;
}

.portal-choice-icon svg{
  stroke:rgba(255,255,255,.92) !important;
}

.portal-choice-item strong{
  color:rgba(255,255,255,.95) !important;
  font-weight:400 !important;
}

.portal-choice-item small{
  color:rgba(255,255,255,.66) !important;
}


/* =========================================================
   CALENDARIO - PANEL IZQUIERDO LIMPIO Y ELEGANTE
   ========================================================= */

.np-left-elegant{
  background:
    radial-gradient(circle at 18% 0%, rgba(242,201,76,.075), transparent 30%),
    linear-gradient(180deg, rgba(32,42,70,.92), rgba(18,27,52,.96)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    0 22px 54px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.np-left-elegant .np-panel-title-clean{
  font-size:24px !important;
  line-height:1.05 !important;
  letter-spacing:-.03em !important;
  color:#ffffff !important;
  font-weight:900 !important;
}

.np-left-elegant .np-equip-option{
  position:relative !important;
  overflow:hidden !important;
  border-radius:20px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.045),
    0 10px 24px rgba(0,0,0,.12) !important;
  transition:.16s ease !important;
}

.np-left-elegant .np-equip-option:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(242,201,76,.40) !important;
  background:
    linear-gradient(135deg, rgba(242,201,76,.10), rgba(255,255,255,.035)) !important;
}

.np-left-elegant .np-equip-option::after{
  content:"";
  position:absolute;
  inset:auto 16px 0 16px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.np-left-elegant select,
.np-left-elegant input,
.np-left-elegant button{
  border-radius:14px !important;
}

.np-left-elegant [class*="legend"],
.np-left-elegant [class*="leyenda"]{
  display:none !important;
}


/* =========================================================
   CALENDARIO - BOTON VOLVER AL INICIO
   ========================================================= */

.np-left-elegant .np-back-home,
.np-left-elegant a[href="/"],
.np-left-elegant a[href="/calendario"],
.np-left-elegant a[href="/"] button,
.np-left-elegant .volver-inicio,
.np-left-elegant .btn-volver-inicio {
  margin-top: 26px !important;
}

.np-left-elegant a[href="/"],
.np-left-elegant .np-back-home,
.np-left-elegant .volver-inicio,
.np-left-elegant .btn-volver-inicio {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 0 18px !important;
  border-radius: 18px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  letter-spacing: -.01em !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background:
    linear-gradient(135deg, rgba(43,78,168,.95), rgba(20,36,84,.96)) !important;
  box-shadow:
    0 14px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(92,138,255,.10) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all .18s ease !important;
}

.np-left-elegant a[href="/"]::before,
.np-left-elegant .np-back-home::before,
.np-left-elegant .volver-inicio::before,
.np-left-elegant .btn-volver-inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(242,201,76,.16), transparent 35%, transparent 65%, rgba(255,255,255,.05));
  pointer-events: none;
}

.np-left-elegant a[href="/"]:hover,
.np-left-elegant .np-back-home:hover,
.np-left-elegant .volver-inicio:hover,
.np-left-elegant .btn-volver-inicio:hover {
  transform: translateY(-2px);
  border-color: rgba(242,201,76,.42) !important;
  box-shadow:
    0 18px 34px rgba(0,0,0,.28),
    0 0 18px rgba(242,201,76,.10),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.np-left-elegant a[href="/"]:active,
.np-left-elegant .np-back-home:active,
.np-left-elegant .volver-inicio:active,
.np-left-elegant .btn-volver-inicio:active {
  transform: translateY(0) scale(.99);
}

.np-left-elegant a[href="/"] span,
.np-left-elegant .np-back-home span,
.np-left-elegant .volver-inicio span,
.np-left-elegant .btn-volver-inicio span {
  position: relative;
  z-index: 1;
}


/* =========================================================
   CALENDARIO DIA - HORARIO EN RANGO
   ========================================================= */

.hour-range-cell{
  white-space:nowrap !important;
  font-size:14px !important;
  font-weight:900 !important;
  letter-spacing:.01em !important;
  color:#f4f8ff !important;
}

.availability-table th:first-child,
.availability-table td:first-child{
  width:142px !important;
  min-width:142px !important;
}

@media(max-width:760px){
  .hour-range-cell{
    font-size:12px !important;
  }

  .availability-table th:first-child,
  .availability-table td:first-child{
    width:112px !important;
    min-width:112px !important;
  }
}

/* =========================================================
   CALENDARIO DIA - FECHA Y HORARIO EN UNA SOLA TARJETA
   ========================================================= */

.np-date-time-summary{
  margin: 14px 0 18px !important;
  padding: 12px !important;
  border-radius: 20px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  background:
    linear-gradient(135deg, rgba(242,201,76,.105), rgba(76,126,220,.075)),
    rgba(255,255,255,.035) !important;
  border: 1px solid rgba(242,201,76,.18) !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.np-date-time-summary .np-date-time-item{
  margin: 0 !important;
  padding: 12px 12px !important;
  min-height: 70px !important;
  border-radius: 14px !important;
  background: rgba(8,16,34,.34) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
}

.np-date-time-summary .np-date-time-item span,
.np-date-time-summary .np-date-time-item small{
  display: block !important;
  color: rgba(220,230,255,.72) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

.np-date-time-summary .np-date-time-item strong{
  display: block !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

.np-date-time-summary .np-date-time-item:first-child strong{
  color: #ffd968 !important;
}

.np-date-time-summary .np-date-time-item:last-child strong{
  color: #dce8ff !important;
}

@media(max-width:760px){
  .np-date-time-summary{
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   CALENDARIO DIA - FECHA Y HORA SIMPLE
   ========================================================= */

.np-date-time-summary{
  margin: 16px 0 22px !important;
  padding: 13px 16px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background:
    linear-gradient(135deg, rgba(242,201,76,.10), rgba(106,168,255,.06)),
    rgba(255,255,255,.025) !important;
  border: 1px solid rgba(242,201,76,.16) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.np-date-time-summary .np-date-time-item{
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
}

.np-date-time-summary .np-date-time-item:first-child::after{
  content: "";
  width: 1px;
  height: 18px;
  margin-left: 8px;
  background: rgba(255,255,255,.14);
  display: inline-block;
  transform: translateY(4px);
}

.np-date-time-summary .np-date-time-item span,
.np-date-time-summary .np-date-time-item small{
  display: inline !important;
  color: rgba(220,230,255,.68) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
}

.np-date-time-summary .np-date-time-item strong{
  display: inline !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

.np-date-time-summary .np-date-time-item:first-child strong{
  color: #ffd968 !important;
}

.np-date-time-summary .np-date-time-item:last-child strong{
  color: #dce8ff !important;
}

@media(max-width:760px){
  .np-date-time-summary{
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .np-date-time-summary .np-date-time-item:first-child::after{
    display: none !important;
  }
}


/* =========================================================
   ANTIPARPADEO PANEL IZQUIERDO
   ========================================================= */

/* Evita que se vea el diseño viejo antes de cualquier ajuste */
.np-left-elegant,
[class*="left"],
[class*="side"]{
  transition: none !important;
}

/* El panel izquierdo queda estable desde el primer render */
.np-left-elegant{
  contain: layout paint !important;
}

/* Fecha y hora en una sola línea sin depender de JavaScript */
.np-date-time-summary{
  margin: 16px 0 22px !important;
  padding: 13px 16px !important;
  border-radius: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Evita animaciones iniciales raras en tarjetas del lado izquierdo */
.np-left-elegant *,
.portal-choice-panel *,
.np-date-time-summary *{
  animation: none !important;
}


/* =========================================================
   CALENDARIO DIA - FECHA Y HORA EN UNA LINEA
   ========================================================= */

.np-date-time-summary{
  display:none !important;
}

.np-date-hour-line{
  margin: 18px 0 22px !important;
  padding: 12px 15px !important;
  border-radius: 15px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.np-date-hour-part{
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.np-date-hour-part b{
  color: rgba(220,230,255,.68) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .07em !important;
}

.np-date-hour-part strong{
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.np-date-hour-part:first-child strong{
  color: #ffd968 !important;
}

.np-date-hour-separator{
  width: 1px !important;
  height: 18px !important;
  background: rgba(255,255,255,.16) !important;
}

@media(max-width:760px){
  .np-date-hour-line{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .np-date-hour-separator{
    display:none !important;
  }
}

/* =========================================================
   CALENDARIO DIA - SOLO FECHA Y HORA AL COSTADO
   ========================================================= */

.np-date-time-summary,
.np-date-hour-line{
  display:none !important;
}

.np-date-only-clean{
  margin: 16px 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.np-date-only-clean span{
  display:block !important;
  margin-bottom:7px !important;
  color:rgba(220,230,255,.68) !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}

.np-date-only-clean strong{
  display:block !important;
  color:#ffd968 !important;
  font-size:16px !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.np-date-only-clean em{
  margin-left:12px !important;
  color:#ffffff !important;
  font-style:normal !important;
  font-weight:850 !important;
}

@media(max-width:760px){
  .np-date-only-clean strong{
    font-size:15px !important;
  }

  .np-date-only-clean em{
    display:inline-block !important;
    margin-left:8px !important;
  }
}

/* =========================================================
   FIX FINAL - FECHA SIMPLE SIN DOBLE TARJETA
   ========================================================= */

.np-date-time-summary,
.np-date-hour-line{
  display:none !important;
}

.np-date-only-clean{
  display:block !important;
  margin:16px 0 22px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.np-date-only-clean span,
.np-date-only-clean label{
  display:block !important;
  margin-bottom:7px !important;
  color:rgba(220,230,255,.68) !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}

.np-date-only-clean strong{
  display:block !important;
  color:#ffd968 !important;
  font-size:16px !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.np-date-only-clean #horario_display{
  margin-left:12px !important;
  color:#ffffff !important;
  font-style:normal !important;
  font-weight:850 !important;
}

/* Si quedaron los bloques antiguos de fecha/hora, se aplastan para que no parezcan dos tarjetas */
#fecha_display,
#horario_display{
  transition:none !important;
}


/* =========================================================
   FECHA FINAL SIMPLE - SIN DOBLE CARD
   ========================================================= */

.np-date-time-summary,
.np-date-hour-line,
.np-date-only-clean{
  display:none !important;
}

.np-fecha-unica-final{
  margin: 16px 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.np-fecha-unica-final span:first-child{
  display:block !important;
  margin-bottom:7px !important;
  color:rgba(220,230,255,.68) !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}

.np-fecha-unica-final strong{
  display:block !important;
  color:#ffd968 !important;
  font-size:16px !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.np-fecha-unica-final #horario_display{
  margin-left:12px !important;
  color:#ffffff !important;
  font-style:normal !important;
  font-weight:850 !important;
}


/* =========================================================
   FECHA FINAL SIMPLE - SIN DOBLE CARD
   ========================================================= */

.np-date-time-summary,
.np-date-hour-line,
.np-date-only-clean{
  display:none !important;
}

.np-fecha-unica-final{
  margin: 16px 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.np-fecha-unica-final span:first-child{
  display:block !important;
  margin-bottom:7px !important;
  color:rgba(220,230,255,.68) !important;
  font-size:11px !important;
  font-weight:900 !important;
  letter-spacing:.09em !important;
  text-transform:uppercase !important;
}

.np-fecha-unica-final strong{
  display:block !important;
  color:#ffd968 !important;
  font-size:16px !important;
  line-height:1.25 !important;
  font-weight:950 !important;
}

.np-fecha-unica-final #horario_display{
  margin-left:12px !important;
  color:#ffffff !important;
  font-style:normal !important;
  font-weight:850 !important;
}


/* =========================================================
   ANTIPARPADEO - TABLA DE HORARIOS
   ========================================================= */

.detail-grid{
  min-height: 560px !important;
}

.np-horarios-loading-row td{
  height: 520px !important;
  background:
    linear-gradient(180deg, rgba(29,39,70,.88), rgba(24,34,62,.92)) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}

.np-horarios-loading{
  height: 100% !important;
  min-height: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-align: center !important;
  color: rgba(255,255,255,.82) !important;
}

.np-horarios-loading strong{
  font-size: 18px !important;
  font-weight: 950 !important;
  color: #ffffff !important;
  letter-spacing: -.01em !important;
}

.np-horarios-loading small{
  font-size: 13px !important;
  color: rgba(220,230,255,.64) !important;
}

.np-loading-pulse{
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle, rgba(47,220,190,.95) 0 28%, rgba(47,220,190,.18) 31% 55%, transparent 58%) !important;
  box-shadow: 0 0 24px rgba(47,220,190,.28) !important;
  animation: npPulseLoad 1.15s ease-in-out infinite !important;
}

@keyframes npPulseLoad{
  0%,100%{
    transform: scale(.92);
    opacity: .70;
  }
  50%{
    transform: scale(1.08);
    opacity: 1;
  }
}


/* =========================================================
   TABLA INICIAL SIN PARPADEO
   ========================================================= */

.is-preloading-slot{
  pointer-events:none !important;
  cursor:default !important;
  opacity:.72 !important;
}

.is-preloading-slot .availability-dot{
  background:rgba(180,190,210,.72) !important;
  box-shadow:0 0 0 4px rgba(180,190,210,.08) !important;
}

.is-preloading-slot .availability-text strong{
  color:rgba(238,244,255,.78) !important;
}

.is-preloading-slot .availability-text small{
  color:rgba(210,220,245,.52) !important;
}

.availability-pill.loading{
  color:rgba(238,244,255,.66) !important;
  border-color:rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.045) !important;
}

.np-preload-row,
.np-preload-row *{
  transition:none !important;
}


/* =========================================================
   FECHA COMPACTA - HORA SUTIL A LA IZQUIERDA
   ========================================================= */

.np-fecha-unica-final{
  margin: 14px 0 18px !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
}

.np-fecha-unica-final > span:first-child{
  margin-bottom: 6px !important;
  font-size: 10px !important;
  letter-spacing: .10em !important;
}

.np-fecha-unica-final strong{
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  flex-wrap: nowrap !important;
  line-height: 1 !important;
}

.np-fecha-unica-final #horario_display{
  margin-left: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(235,240,255,.82) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
}

.np-fecha-unica-final .np-fecha-sep{
  color: rgba(255,255,255,.28) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.np-fecha-unica-final #fecha_display{
  color: #ffd968 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

@media(max-width:760px){
  .np-fecha-unica-final strong{
    flex-wrap: wrap !important;
  }
}

/* =========================================================
   FECHA COMO INPUT: FECHA IZQUIERDA / HORA DERECHA
   ========================================================= */

.np-fecha-unica-final{
  margin: 14px 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.np-fecha-unica-final > span:first-child{
  display: block !important;
  margin: 0 0 7px 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.np-fecha-unica-final strong{
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 15px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;

  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;

  line-height: 1 !important;
}

.np-fecha-unica-final #fecha_display{
  color: rgba(255,255,255,.92) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.np-fecha-unica-final #horario_display{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;

  color: rgba(255,255,255,.58) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.np-fecha-unica-final .np-fecha-sep{
  display: none !important;
}

/* ===== FECHA + HORA EN UNA SOLA FILA ===== */
.np-fecha-unica-final strong{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-direction:row !important;
  min-height:48px !important;
}

.np-fecha-unica-final #fecha_display{
  display:block !important;
  order:1 !important;
  margin:0 !important;
  font-size:13px !important;
  font-weight:800 !important;
  color:rgba(255,255,255,.92) !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}

.np-fecha-unica-final #horario_display{
  display:block !important;
  order:2 !important;
  margin:0 0 0 auto !important;
  font-size:13px !important;
  font-style:normal !important;
  font-weight:700 !important;
  color:rgba(255,255,255,.62) !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  text-align:right !important;
}

.np-fecha-unica-final .np-fecha-sep{
  display:none !important;
}

/* ===== FECHA + HORA EN UNA SOLA FILA ===== */
.np-fecha-unica-final strong{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-direction:row !important;
  min-height:48px !important;
}

.np-fecha-unica-final #fecha_display{
  display:block !important;
  order:1 !important;
  margin:0 !important;
  font-size:13px !important;
  font-weight:800 !important;
  color:rgba(255,255,255,.92) !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}

.np-fecha-unica-final #horario_display{
  display:block !important;
  order:2 !important;
  margin:0 0 0 auto !important;
  font-size:13px !important;
  font-style:normal !important;
  font-weight:700 !important;
  color:rgba(255,255,255,.62) !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  text-align:right !important;
}

.np-fecha-unica-final .np-fecha-sep{
  display:none !important;
}

/* ===== FECHA + HORA MISMA FILA, MENOS SEPARADA ===== */
.np-fecha-unica-final strong{
  justify-content:flex-start !important;
  gap:14px !important;
}

.np-fecha-unica-final #horario_display{
  margin:0 !important;
  text-align:left !important;
  color:rgba(255,255,255,.58) !important;
}

.np-fecha-unica-final #fecha_display{
  margin:0 !important;
}

/* =========================================================
   FECHA COMO CAMPO NORMAL - SIN DOBLE CAPSULA
   ========================================================= */

.np-fecha-unica-final{
  margin: 10px 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.np-fecha-unica-final > span:first-child{
  display: block !important;
  margin: 0 0 7px 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.np-fecha-unica-final strong{
  width: 100% !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border-radius: 15px !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 13px !important;

  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.np-fecha-unica-final #fecha_display{
  margin: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.np-fecha-unica-final #horario_display{
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.56) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
}

/* Reduce espacio entre fecha y responsable */
.np-fecha-unica-final + *{
  margin-top: 10px !important;
}


/* =========================================================
   FINAL FECHA - SOLO UN CUADRO, SIN CAPSULA INTERNA
   ========================================================= */

html body .np-fecha-unica-final{
  margin: 9px 0 12px !important;
  padding: 11px 14px 10px !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

html body .np-fecha-unica-final > span:first-child{
  display: block !important;
  margin: 0 0 7px 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Este era el cuadro interno: lo convertimos en solo una fila de texto */
html body .np-fecha-unica-final strong{
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  line-height: 1.15 !important;
}

html body .np-fecha-unica-final #fecha_display{
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html body .np-fecha-unica-final #horario_display{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

html body .np-fecha-unica-final .np-fecha-sep{
  display: none !important;
}


/* =========================================================
   HORARIOS PASADOS OCULTOS
   ========================================================= */

.np-sin-horarios-disponibles td{
  padding: 28px 18px !important;
  text-align: center !important;
  background: rgba(255,255,255,.025) !important;
}

.np-sin-horarios-disponibles strong{
  display: block !important;
  color: rgba(255,255,255,.92) !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  margin-bottom: 6px !important;
}

.np-sin-horarios-disponibles small{
  display: block !important;
  color: rgba(220,230,255,.62) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}


/* ===== SIN HORARIOS DISPONIBLES ===== */
.np-sin-horarios-disponibles td{
  padding: 30px 18px !important;
  text-align: center !important;
  background: rgba(255,255,255,.025) !important;
}

.np-sin-horarios-disponibles strong{
  display:block !important;
  color:rgba(255,255,255,.92) !important;
  font-size:16px !important;
  font-weight:950 !important;
  margin-bottom:6px !important;
}

.np-sin-horarios-disponibles small{
  display:block !important;
  color:rgba(220,230,255,.62) !important;
  font-size:13px !important;
}

/* =========================================================
   PROTECCION FINAL: OCULTAR FILAS DE HORARIOS PASADOS
   ========================================================= */

.calendar-table tr:has(.is-past){
  display: none !important;
}

.calendar-table .is-past{
  display: none !important;
}


/* =========================================================
   FIX ESTABILIDAD VISUAL: LOGO Y PANEL IZQUIERDO
   ========================================================= */

/* Evita que aparezca/desaparezca scroll lateral y mueva la página */
html{
  overflow-y: scroll !important;
}

/* Header con altura estable */
.nexus-public-header,
.nexus-public-topbar,
.public-header,
header{
  min-height: 82px !important;
}

/* Marca/logo: reserva espacio desde antes de cargar la imagen */
.nexus-brand-noflash{
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  overflow: hidden !important;
}

/* Logo sin efecto cortina */
.nexus-brand-noflash img,
.nexus-logo-img-noflash,
img[src*="nexus-logo"]{
  width: 174px !important;
  height: 54px !important;
  min-width: 174px !important;
  min-height: 54px !important;
  max-width: 174px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Evita saltos por carga de fuente/texto del encabezado */
.nexus-brand-title-noflash,
.nexus-brand-subtitle-noflash{
  transition: none !important;
  animation: none !important;
}

/* Contenedor principal estable */
.detail-grid,
.public-calendar-detail,
.calendar-detail-layout,
.nexus-detail-layout{
  align-items: flex-start !important;
}

/* Panel izquierdo estable: no debe bailar mientras carga la tabla */
.loan-sidebar,
.detail-sidebar,
.request-panel,
.public-request-panel,
aside{
  align-self: flex-start !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Si el panel izquierdo está sticky, mantiene el mismo punto */
.loan-sidebar,
.detail-sidebar,
.request-panel,
.public-request-panel{
  top: 96px !important;
}

/* Tabla: evita saltos bruscos al repintar filas */
#calendar-table,
#calendar-table thead,
#calendar-table tbody,
#calendar-table tr,
#calendar-table td{
  transition: none !important;
  animation: none !important;
}


/* =========================================================
   FIX: PANEL SOLICITUD DE PRESTAMO SIN SUBIR/BAJAR
   ========================================================= */

/* Evita que Chrome reacomode el scroll cuando JS repinta la tabla */
html,
body,
#calendar-table,
#calendar-table tbody,
#calendar-table tr,
#calendar-table td,
.detail-grid,
.calendar-detail-layout,
.public-calendar-detail{
  overflow-anchor: none !important;
}

/* El layout del día siempre arranca arriba y estable */
.detail-grid,
.calendar-detail-layout,
.public-calendar-detail,
.nexus-detail-layout{
  align-items: flex-start !important;
}

/* Panel izquierdo firme */
.detail-grid > aside,
.public-calendar-detail > aside,
.calendar-detail-layout > aside,
.nexus-detail-layout > aside,
.loan-sidebar,
.detail-sidebar,
.request-panel,
.public-request-panel{
  align-self: flex-start !important;
  position: sticky !important;
  top: 92px !important;
  transform: translateZ(0) !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
  overflow-anchor: none !important;
}

/* La tarjeta interna tampoco debe animarse ni reajustarse */
.detail-grid > aside *,
.public-calendar-detail > aside *,
.calendar-detail-layout > aside *,
.nexus-detail-layout > aside *,
.loan-sidebar *,
.detail-sidebar *,
.request-panel *,
.public-request-panel *{
  transition-property: background-color, border-color, color, opacity !important;
}

/* Evita que el botón o alertas empujen visualmente con animaciones */
.form-alert,
.alert,
button,
.btn,
#submit-btn,
button[type="submit"]{
  transition: none !important;
  animation: none !important;
}


/* =========================================================
   FIX REAL: PANEL SOLICITUD NO SUBE/BAJA
   ========================================================= */

/* El layout del día no debe estirar ni centrar el panel izquierdo */
.calendar-layout.detail-day-layout{
  align-items: flex-start !important;
}

/* Quita el sticky que hacía brincar el panel izquierdo */
.calendar-layout.detail-day-layout > aside.day-request-panel,
.day-request-panel,
.request-panel.day-request-panel,
.refined-request-panel.day-request-panel{
  position: relative !important;
  top: auto !important;
  align-self: flex-start !important;
  height: auto !important;
  min-height: auto !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  will-change: auto !important;
  overflow-anchor: none !important;
}

/* La zona derecha reserva espacio desde el inicio para que no empuje el layout */
.calendar-layout.detail-day-layout .detail-day-shell{
  align-self: flex-start !important;
  min-height: 720px !important;
}

.calendar-layout.detail-day-layout .calendar-grid.detail-grid{
  min-height: 560px !important;
  overflow-anchor: none !important;
}

/* La tabla no debe animar ni producir saltos visuales */
#calendar-table,
#calendar-table thead,
#calendar-table tbody,
#calendar-table tr,
#calendar-table td{
  transition: none !important;
  animation: none !important;
  overflow-anchor: none !important;
}

/* Evita que el navegador reajuste el scroll al repintar filas */
html,
body,
.calendar-layout.detail-day-layout{
  overflow-anchor: none !important;
}


/* =========================================================
   FAST LOAD LOGO + HORAS
   ========================================================= */

.nexus-brand-noflash img,
.nexus-logo-img-noflash,
img[src*="nexus-logo"]{
  width:174px !important;
  height:54px !important;
  min-width:174px !important;
  min-height:54px !important;
  object-fit:contain !important;
  display:block !important;
  content-visibility:auto !important;
  contain-intrinsic-size:174px 54px !important;
}

#calendar-table tbody{
  min-height: 420px !important;
}

#calendar-table,
#calendar-table *{
  animation:none !important;
}


/* =========================================================
   LOGO LIMPIO - SIN CORTINA NI PARPADEO
   ========================================================= */

.nexus-brand-noflash{
  width: auto !important;
  min-width: 174px !important;
  min-height: 54px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  overflow: visible !important;
}

.nexus-brand-noflash img,
.nexus-logo-img-noflash,
img[src*="nexus-logo-clean"]{
  width: 174px !important;
  height: 54px !important;
  min-width: 174px !important;
  min-height: 54px !important;
  max-width: 174px !important;
  max-height: 54px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;

  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
  mask-image: none !important;
  transform: none !important;
  filter: none !important;

  animation: none !important;
  transition: none !important;
  content-visibility: visible !important;
  contain: none !important;
}

/* Mata cualquier efecto anterior que hiciera aparecer el logo de arriba hacia abajo */
.nexus-brand-noflash,
.nexus-brand-noflash *,
.nexus-public-header img,
header img[src*="nexus-logo"]{
  animation-name: none !important;
  transition-property: none !important;
}


/* Solo móvil: ocultar meses completamente vencidos */
@media (max-width: 700px){
  .mini-month.mobile-expired-month{
    display:none !important;
  }
}







/* =========================================================
   ADMIN SOLICITUDES - LEGIBILIDAD Y ASIGNACION INTERNA
   ========================================================= */

.solicitudes-hero{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:22px !important;
}

.admin-kicker{
  display:block !important;
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
  letter-spacing:.09em !important;
  margin-bottom:8px !important;
}

.solicitudes-tabs{
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}

.solicitudes-tabs .nexus-btn.active{
  background:rgba(255,212,90,.18) !important;
  border-color:rgba(255,212,90,.38) !important;
  color:#fff !important;
}

.solicitudes-card{
  padding:18px !important;
}

.solicitudes-admin-table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 8px !important;
}

.solicitudes-admin-table thead th{
  padding:12px 14px !important;
  color:rgba(255,255,255,.72) !important;
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.06em !important;
}

.solicitudes-admin-table tbody tr{
  background:rgba(255,255,255,.035) !important;
  border-radius:16px !important;
}

.solicitudes-admin-table tbody td{
  padding:14px !important;
  vertical-align:middle !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

.solicitudes-admin-table tbody td:first-child{
  border-left:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px 0 0 16px !important;
}

.solicitudes-admin-table tbody td:last-child{
  border-right:1px solid rgba(255,255,255,.08) !important;
  border-radius:0 16px 16px 0 !important;
}

.sol-equipo strong,
.sol-fecha strong,
.sol-persona strong,
.sol-oficina strong{
  display:block !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
}

.sol-equipo small,
.sol-fecha small,
.sol-persona small,
.sol-oficina small,
.assign-help{
  display:block !important;
  margin-top:4px !important;
  color:rgba(220,230,255,.60) !important;
  font-size:12px !important;
  font-weight:650 !important;
}

.sol-motivo{
  max-width:240px !important;
  color:rgba(255,255,255,.88) !important;
  line-height:1.35 !important;
}

.sol-asignacion{
  min-width:250px !important;
}

.admin-assign-select{
  min-width:230px !important;
  cursor:pointer !important;
  font-weight:850 !important;
}

.admin-actions{
  display:flex !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
}

.solicitudes-empty{
  padding:32px !important;
  text-align:center !important;
  color:rgba(255,255,255,.66) !important;
}

@media(max-width:1100px){
  .solicitudes-hero{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .solicitudes-admin-table{
    min-width:1100px !important;
  }
}

/* =========================================================
   ADMIN - SELECT ASIGNACION INTERNA OSCURO
   ========================================================= */

.admin-assign-select,
.solicitudes-admin-table select,
select.nexus-input{
  background: #202942 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color-scheme: dark !important;
}

.admin-assign-select option,
.solicitudes-admin-table select option,
select.nexus-input option{
  background: #202942 !important;
  color: #ffffff !important;
}

.admin-assign-select option:hover,
.admin-assign-select option:checked{
  background: #2e3a5d !important;
  color: #ffffff !important;
}

.admin-assign-select:focus{
  outline: none !important;
  border-color: rgba(255,212,90,.55) !important;
  box-shadow: 0 0 0 3px rgba(255,212,90,.12) !important;
}


/* SOLO MÓVIL: color del fondo que aparece al deslizar */
@media (max-width: 700px){
  html,
  body{
    background-color:#0a1730 !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - VISTA TARJETAS SIMPLES
   ========================================================= */

.solicitudes-section{
  margin-top:18px !important;
}

.solicitudes-section-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:16px !important;
  margin-bottom:12px !important;
}

.solicitudes-section-head h2{
  margin:0 !important;
  color:#fff !important;
  font-size:22px !important;
  font-weight:950 !important;
}

.solicitudes-section-head p{
  margin:4px 0 0 !important;
  color:rgba(225,235,255,.62) !important;
  font-size:13px !important;
}

.section-count{
  min-width:42px !important;
  height:42px !important;
  border-radius:14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,212,90,.14) !important;
  border:1px solid rgba(255,212,90,.32) !important;
  color:#ffd45a !important;
  font-weight:950 !important;
}

.solicitudes-card-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(430px, 1fr)) !important;
  gap:14px !important;
}

.solicitud-card{
  padding:18px !important;
  border-radius:22px !important;
  background:
    radial-gradient(circle at top left, rgba(255,212,90,.08), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 18px 42px rgba(0,0,0,.20) !important;
}

.sol-card-top{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:14px !important;
  margin-bottom:14px !important;
}

.sol-card-top h3{
  margin:8px 0 0 !important;
  color:#fff !important;
  font-size:22px !important;
  font-weight:950 !important;
}

.sol-time-box{
  min-width:158px !important;
  padding:12px 14px !important;
  border-radius:17px !important;
  text-align:center !important;
  background:rgba(0,0,0,.22) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

.sol-time-box strong{
  display:block !important;
  color:#ffd45a !important;
  font-size:15px !important;
  font-weight:950 !important;
}

.sol-time-box span{
  display:block !important;
  margin-top:5px !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.sol-info-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  margin-bottom:14px !important;
}

.sol-info-grid > div{
  padding:11px 12px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}

.sol-info-wide{
  grid-column:1 / -1 !important;
}

.sol-info-grid span,
.sol-assign-box label{
  display:block !important;
  color:rgba(255,255,255,.55) !important;
  font-size:11px !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
  letter-spacing:.06em !important;
  margin-bottom:5px !important;
}

.sol-info-grid strong{
  display:block !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:1.25 !important;
}

.sol-info-grid small,
.sol-assign-box small{
  display:block !important;
  margin-top:4px !important;
  color:rgba(225,235,255,.58) !important;
  font-size:12px !important;
  font-weight:650 !important;
}

.sol-assign-box{
  padding:12px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  margin-bottom:14px !important;
}

.sol-assign-box .nexus-input,
.sol-assign-box select{
  width:100% !important;
}

.sol-card-actions{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

.sol-card-actions .nexus-btn{
  min-height:42px !important;
}

.ghost-danger{
  background:rgba(255,95,105,.10) !important;
  border-color:rgba(255,95,105,.28) !important;
  color:#ffb6bc !important;
}

.sol-empty-section{
  padding:20px !important;
  border-radius:18px !important;
  color:rgba(255,255,255,.62) !important;
  background:rgba(255,255,255,.035) !important;
  border:1px dashed rgba(255,255,255,.13) !important;
}

.compact-history{
  opacity:.92 !important;
}

@media(max-width:760px){
  .solicitudes-card-grid{
    grid-template-columns:1fr !important;
  }

  .sol-card-top,
  .solicitudes-section-head{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .sol-time-box{
    width:100% !important;
    text-align:left !important;
  }

  .sol-info-grid{
    grid-template-columns:1fr !important;
  }
}

/* =====================================================
   SOLO MOVIL: bloquear desplazamiento horizontal
   ===================================================== */
@media (max-width: 700px){
  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    position:relative !important;
    touch-action: pan-y !important;
  }

  body.nexus-public-body{
    overflow-x:hidden !important;
  }

  .public-main-wrap,
  main,
  .calendar-page-split,
  .calendar-main-panel,
  .annual-calendar-card,
  .calendar-layout,
  .detail-day-layout,
  .ufbp-top-elegant,
  .ufbp-top-inner-elegant,
  .nexus-head-noflash,
  .nexus-head-noflash-inner,
  .ufbp-header-final,
  .ufbp-header-final-inner{
    width:100% !important;
    max-width:100% !important;
    overflow-x:hidden !important;
    box-sizing:border-box !important;
  }

  .annual-calendar-card,
  .mini-month,
  .calendar-month,
  .month-card{
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .calendar-months,
  .months-grid,
  .annual-months,
  .mini-month-grid,
  .calendar-grid{
    max-width:100% !important;
    overflow-x:hidden !important;
    box-sizing:border-box !important;
  }

  .mini-calendar,
  .mini-month table,
  .calendar-table{
    width:100% !important;
    max-width:100% !important;
    table-layout:fixed !important;
  }

  .mini-day{
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  img,
  video,
  canvas,
  svg{
    max-width:100% !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - AGENDA COMPACTA TIPO EXCEL
   ========================================================= */

.admin-compact-hero{
  padding:22px 24px !important;
}

.admin-compact-hero h1{
  font-size:28px !important;
  margin:8px 0 8px !important;
}

.admin-compact-hero p{
  margin:0 !important;
  font-size:13px !important;
  color:rgba(230,238,255,.72) !important;
}

.admin-status-strip{
  display:flex !important;
  gap:8px !important;
  margin:14px 0 10px !important;
  flex-wrap:wrap !important;
}

.admin-status-strip span{
  padding:7px 11px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:rgba(235,242,255,.74) !important;
  font-size:12px !important;
  font-weight:750 !important;
}

.admin-status-strip b{
  color:#ffd45a !important;
}

.agenda-dia-card{
  margin-top:12px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
  box-shadow:none !important;
}

.agenda-dia-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  margin-bottom:10px !important;
}

.agenda-dia-head h2{
  margin:0 !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.agenda-dia-head small{
  color:rgba(220,230,255,.58) !important;
  font-size:12px !important;
  font-weight:700 !important;
}

.admin-agenda-table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  overflow:hidden !important;
  border-radius:14px !important;
}

.admin-agenda-table th{
  padding:10px 12px !important;
  background:rgba(4,8,22,.72) !important;
  color:rgba(255,255,255,.82) !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  border-bottom:1px solid rgba(255,255,255,.09) !important;
}

.agenda-hour-th{
  width:132px !important;
}

.agenda-hour-cell{
  width:132px !important;
  padding:10px 12px !important;
  background:rgba(5,10,25,.62) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
  vertical-align:top !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

.agenda-slot-cell{
  padding:6px !important;
  background:rgba(255,255,255,.018) !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

.agenda-request{
  min-height:42px !important;
  display:grid !important;
  grid-template-columns:88px 1.15fr 1fr 1fr 220px auto !important;
  align-items:center !important;
  gap:8px !important;
  padding:7px 8px !important;
  border-radius:10px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.075) !important;
}

.agenda-request + .agenda-request{
  margin-top:5px !important;
}

.agenda-request-aprobado{
  background:rgba(255,212,90,.055) !important;
}

.agenda-request-entregado{
  background:rgba(45,220,150,.055) !important;
}

.agenda-main strong,
.agenda-place strong,
.agenda-code-readonly{
  display:block !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.12 !important;
}

.agenda-main small,
.agenda-place small{
  display:block !important;
  margin-top:2px !important;
  color:rgba(220,230,255,.58) !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.12 !important;
}

.agenda-reason span{
  display:block !important;
  color:rgba(255,255,255,.84) !important;
  font-size:12px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
  max-height:32px !important;
  overflow:hidden !important;
}

.agenda-assign .nexus-input,
.agenda-assign select{
  height:34px !important;
  min-height:34px !important;
  padding:0 10px !important;
  border-radius:10px !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.agenda-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
}

.mini-btn{
  height:32px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  cursor:pointer !important;
  font-size:12px !important;
  font-weight:950 !important;
  color:#07101f !important;
  background:#ffd45a !important;
  box-shadow:none !important;
}

.mini-btn.ok{
  background:#ffd45a !important;
}

.mini-btn.info{
  background:#65d9ff !important;
}

.mini-btn.danger{
  background:#ff6574 !important;
  color:#fff !important;
}

.mini-btn.ghost{
  background:rgba(255,101,116,.12) !important;
  color:#ffb6bd !important;
}

.agenda-empty{
  padding:18px !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px dashed rgba(255,255,255,.13) !important;
  color:rgba(255,255,255,.65) !important;
  font-size:13px !important;
}

.history-table td{
  padding:10px 12px !important;
  font-size:13px !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

@media(max-width:1250px){
  .admin-agenda-table{
    min-width:1180px !important;
  }

  .agenda-dia-card{
    overflow-x:auto !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - IGUAL A TABLA PUBLICA
   ========================================================= */

.admin-public-like-head{
  padding:18px 22px !important;
  margin-bottom:12px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
}

.admin-public-like-head h1{
  margin:6px 0 6px !important;
  font-size:26px !important;
  line-height:1.1 !important;
}

.admin-public-like-head p{
  margin:0 !important;
  font-size:13px !important;
  color:rgba(230,238,255,.70) !important;
}

.admin-mini-summary{
  display:flex !important;
  gap:8px !important;
  margin:0 0 10px !important;
}

.admin-mini-summary span{
  padding:6px 10px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:rgba(230,238,255,.72) !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.admin-mini-summary b{
  color:#ffd45a !important;
}

.admin-day-public-like{
  margin-top:12px !important;
  padding:16px !important;
  border-radius:20px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
}

.admin-day-title{
  margin-bottom:12px !important;
}

.admin-day-title span{
  display:block !important;
  color:#8fb6ff !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.09em !important;
}

.admin-day-title strong{
  display:block !important;
  margin-top:4px !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.admin-solicitudes-calendar{
  width:100% !important;
}

.admin-solicitudes-calendar th{
  height:42px !important;
  padding:10px 12px !important;
}

.admin-solicitudes-calendar .hour-cell{
  width:142px !important;
  padding:12px 14px !important;
  vertical-align:top !important;
  background:rgba(4,9,23,.74) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-slot-cell{
  padding:6px 8px !important;
  background:rgba(255,255,255,.018) !important;
}

.admin-slot-request{
  display:grid !important;
  grid-template-columns:92px 1.2fr 1fr 1fr 210px auto !important;
  align-items:center !important;
  gap:8px !important;
  min-height:43px !important;
  padding:6px 8px !important;
  border-radius:8px !important;
  background:rgba(255,255,255,.042) !important;
  border:1px solid rgba(255,255,255,.07) !important;
}

.admin-slot-request + .admin-slot-request{
  margin-top:5px !important;
}

.admin-slot-aprobado{
  background:rgba(255,212,90,.06) !important;
}

.admin-slot-entregado{
  background:rgba(45,220,150,.055) !important;
}

.admin-req-person strong,
.admin-req-place strong{
  display:block !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}

.admin-req-person small,
.admin-req-place small{
  display:block !important;
  margin-top:3px !important;
  color:rgba(220,230,255,.58) !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.1 !important;
}

.admin-req-motive{
  color:rgba(255,255,255,.84) !important;
  font-size:12px !important;
  font-weight:750 !important;
  line-height:1.2 !important;
  max-height:30px !important;
  overflow:hidden !important;
}

.admin-req-code select,
.admin-req-code input{
  width:100% !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 10px !important;
  border-radius:9px !important;
  font-size:12px !important;
  font-weight:850 !important;
}

.admin-code-readonly{
  display:block !important;
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
}

.admin-req-actions{
  display:flex !important;
  gap:6px !important;
  justify-content:flex-end !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
}

.admin-mini-action{
  height:31px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  cursor:pointer !important;
  font-size:12px !important;
  font-weight:950 !important;
  box-shadow:none !important;
}

.admin-mini-action.approve{
  background:#ffd45a !important;
  color:#07101f !important;
}

.admin-mini-action.deliver{
  background:#5ed9ff !important;
  color:#07101f !important;
}

.admin-mini-action.reject{
  background:#ff6574 !important;
  color:#fff !important;
}

.admin-mini-action.reject.soft{
  background:rgba(255,101,116,.12) !important;
  color:#ffb6bd !important;
}

.admin-empty-public-like{
  margin-top:12px !important;
  padding:16px !important;
  border-radius:14px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px dashed rgba(255,255,255,.14) !important;
  color:rgba(255,255,255,.65) !important;
  font-size:13px !important;
}

.admin-history-table td{
  padding:10px 12px !important;
  font-size:13px !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

@media(max-width:1280px){
  .admin-day-public-like{
    overflow-x:auto !important;
  }

  .admin-solicitudes-calendar{
    min-width:1180px !important;
  }
}

/* =====================================================
   SOLO MOVIL: limpiar tabla de horarios del detalle
   ===================================================== */
@media (max-width: 700px){

  .detail-grid{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    border-radius:18px !important;
  }

  .detail-table{
    width:100% !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
  }

  .detail-table thead th{
    padding:12px 8px !important;
    font-size:13px !important;
    text-align:center !important;
  }

  .detail-table thead th:first-child{
    width:34% !important;
  }

  .detail-table thead th:last-child{
    width:66% !important;
  }

  .detail-table .hour-cell{
    width:34% !important;
    min-width:0 !important;
    padding:0 6px !important;
    font-size:13px !important;
    line-height:1.2 !important;
    white-space:normal !important;
    text-align:center !important;
    vertical-align:middle !important;
  }

  .detail-table .day-slot{
    height:auto !important;
    min-height:74px !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  .public-availability .availability-row{
    min-height:74px !important;
    height:auto !important;
    padding:10px 10px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    flex-direction:row !important;
  }

  .public-availability .availability-main{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
    width:100% !important;
  }

  .public-availability .availability-dot{
    width:12px !important;
    height:12px !important;
    flex:0 0 12px !important;
    margin:0 !important;
  }

  .public-availability .availability-text{
    min-width:0 !important;
    width:100% !important;
    display:flex !important;
    flex-direction:column !important;
    gap:2px !important;
  }

  .public-availability strong{
    font-size:16px !important;
    line-height:1.05 !important;
    margin:0 !important;
    white-space:normal !important;
  }

  .public-availability small{
    font-size:12px !important;
    line-height:1.18 !important;
    margin:0 !important;
    white-space:normal !important;
    color:#b9c7dd !important;
  }

  /* En móvil toda la fila ya se toca, no hace falta la cápsula */
  .public-availability .availability-pill{
    display:none !important;
  }

  .public-availability.selected{
    background:linear-gradient(90deg, rgba(244,197,70,.17), rgba(244,197,70,.06)) !important;
  }

  .public-availability.selected strong::after{
    content:" seleccionado";
    color:#f4c546;
    font-size:12px;
    font-weight:800;
  }

  .detail-day-tip{
    font-size:14px !important;
    line-height:1.35 !important;
    padding:12px 14px !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - COPIA VISUAL DE HORAS PUBLICAS
   ========================================================= */

.admin-public-copy-head{
  padding:16px 20px !important;
  margin-bottom:12px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
}

.admin-public-copy-head h1{
  margin:5px 0 4px !important;
  font-size:24px !important;
  line-height:1.1 !important;
}

.admin-public-copy-head p{
  margin:0 !important;
  font-size:12px !important;
  color:rgba(230,238,255,.70) !important;
}

.admin-public-copy-shell{
  margin-top:12px !important;
  padding:16px !important;
  border-radius:20px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
}

.admin-public-copy-title{
  margin-bottom:10px !important;
}

.admin-public-copy-title span{
  display:block !important;
  color:#8fb6ff !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.09em !important;
}

.admin-public-copy-title strong{
  display:block !important;
  margin-top:3px !important;
  color:#fff !important;
  font-size:17px !important;
  font-weight:950 !important;
}

.admin-public-copy-table{
  width:100% !important;
}

.admin-public-copy-table th{
  height:42px !important;
  padding:10px 12px !important;
}

.admin-public-copy-table .hour-cell{
  width:142px !important;
  padding:12px 14px !important;
  vertical-align:middle !important;
  background:rgba(4,9,23,.74) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-public-copy-cell{
  padding:0 !important;
}

.admin-public-request-line{
  min-height:50px !important;
  display:grid !important;
  grid-template-columns:minmax(360px, 1fr) 96px 205px auto !important;
  align-items:center !important;
  gap:10px !important;
  padding:9px 12px !important;
  background:transparent !important;
  border-bottom:1px solid rgba(255,255,255,.055) !important;
}

.admin-public-request-line:last-child{
  border-bottom:0 !important;
}

.admin-copy-main{
  min-width:0 !important;
}

.admin-copy-text strong{
  display:block !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1.12 !important;
}

.admin-copy-text small{
  display:block !important;
  margin-top:3px !important;
  color:#a8d7ff !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.12 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.admin-copy-status{
  justify-self:start !important;
}

.admin-copy-code select,
.admin-copy-code input{
  width:100% !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 10px !important;
  border-radius:10px !important;
  font-size:12px !important;
  font-weight:850 !important;
}

.admin-copy-code-read{
  display:block !important;
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-copy-actions{
  display:flex !important;
  justify-content:flex-end !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
}

.admin-copy-btn{
  height:31px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  cursor:pointer !important;
  font-size:12px !important;
  font-weight:950 !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}

.admin-copy-btn.ok{
  background:#ffd45a !important;
  color:#07101f !important;
}

.admin-copy-btn.info{
  background:#5ed9ff !important;
  color:#07101f !important;
}

.admin-copy-btn.danger{
  background:#ff6574 !important;
  color:#fff !important;
}

.admin-copy-btn.danger.soft{
  background:rgba(255,101,116,.12) !important;
  color:#ffb6bd !important;
}

.admin-empty-hour{
  min-height:50px !important;
  padding:9px 12px !important;
}

.admin-empty-hour .availability-text strong{
  color:rgba(255,255,255,.55) !important;
}

.admin-empty-hour .availability-text small{
  color:rgba(220,230,255,.42) !important;
}

.admin-history-table td{
  padding:10px 12px !important;
  font-size:13px !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

@media(max-width:1280px){
  .admin-public-copy-shell{
    overflow-x:auto !important;
  }

  .admin-public-copy-table{
    min-width:1120px !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - COPIA VISUAL DE HORAS PUBLICAS
   ========================================================= */

.admin-public-copy-head{
  padding:16px 20px !important;
  margin-bottom:12px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
}

.admin-public-copy-head h1{
  margin:5px 0 4px !important;
  font-size:24px !important;
  line-height:1.1 !important;
}

.admin-public-copy-head p{
  margin:0 !important;
  font-size:12px !important;
  color:rgba(230,238,255,.70) !important;
}

.admin-public-copy-shell{
  margin-top:12px !important;
  padding:16px !important;
  border-radius:20px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.028)) !important;
  border:1px solid rgba(255,255,255,.11) !important;
}

.admin-public-copy-title{
  margin-bottom:10px !important;
}

.admin-public-copy-title span{
  display:block !important;
  color:#8fb6ff !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.09em !important;
}

.admin-public-copy-title strong{
  display:block !important;
  margin-top:3px !important;
  color:#fff !important;
  font-size:17px !important;
  font-weight:950 !important;
}

.admin-public-copy-table{
  width:100% !important;
}

.admin-public-copy-table th{
  height:42px !important;
  padding:10px 12px !important;
}

.admin-public-copy-table .hour-cell{
  width:142px !important;
  padding:12px 14px !important;
  vertical-align:middle !important;
  background:rgba(4,9,23,.74) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-public-copy-cell{
  padding:0 !important;
}

.admin-public-request-line{
  min-height:50px !important;
  display:grid !important;
  grid-template-columns:minmax(360px, 1fr) 96px 205px auto !important;
  align-items:center !important;
  gap:10px !important;
  padding:9px 12px !important;
  background:transparent !important;
  border-bottom:1px solid rgba(255,255,255,.055) !important;
}

.admin-public-request-line:last-child{
  border-bottom:0 !important;
}

.admin-copy-main{
  min-width:0 !important;
}

.admin-copy-text strong{
  display:block !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  line-height:1.12 !important;
}

.admin-copy-text small{
  display:block !important;
  margin-top:3px !important;
  color:#a8d7ff !important;
  font-size:11px !important;
  font-weight:650 !important;
  line-height:1.12 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.admin-copy-status{
  justify-self:start !important;
}

.admin-copy-code select,
.admin-copy-code input{
  width:100% !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 10px !important;
  border-radius:10px !important;
  font-size:12px !important;
  font-weight:850 !important;
}

.admin-copy-code-read{
  display:block !important;
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-copy-actions{
  display:flex !important;
  justify-content:flex-end !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
}

.admin-copy-btn{
  height:31px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  cursor:pointer !important;
  font-size:12px !important;
  font-weight:950 !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}

.admin-copy-btn.ok{
  background:#ffd45a !important;
  color:#07101f !important;
}

.admin-copy-btn.info{
  background:#5ed9ff !important;
  color:#07101f !important;
}

.admin-copy-btn.danger{
  background:#ff6574 !important;
  color:#fff !important;
}

.admin-copy-btn.danger.soft{
  background:rgba(255,101,116,.12) !important;
  color:#ffb6bd !important;
}

.admin-empty-hour{
  min-height:50px !important;
  padding:9px 12px !important;
}

.admin-empty-hour .availability-text strong{
  color:rgba(255,255,255,.55) !important;
}

.admin-empty-hour .availability-text small{
  color:rgba(220,230,255,.42) !important;
}

.admin-history-table td{
  padding:10px 12px !important;
  font-size:13px !important;
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

@media(max-width:1280px){
  .admin-public-copy-shell{
    overflow-x:auto !important;
  }

  .admin-public-copy-table{
    min-width:1120px !important;
  }
}

/* =========================================================
   ADMIN SOLICITUDES - FILAS ORDENADAS DENTRO DEL HORARIO
   ========================================================= */

/* El form invisible no debe ocupar columna dentro de la fila */
.admin-public-request-line > form{
  display:none !important;
}

/* Cada solicitud se comporta como una fila tipo Excel */
.admin-public-request-line{
  grid-template-columns: minmax(360px, 1fr) 92px 210px 170px !important;
  min-height: 46px !important;
  padding: 7px 10px !important;
}

/* Texto principal siempre a la izquierda */
.admin-copy-main{
  justify-content:flex-start !important;
  width:100% !important;
  min-width:0 !important;
}

.admin-copy-text{
  min-width:0 !important;
}

.admin-copy-text strong{
  font-size:13px !important;
}

.admin-copy-text small{
  max-width:100% !important;
}

/* Estado compacto */
.admin-copy-status{
  justify-self:start !important;
  font-size:11px !important;
  padding:6px 9px !important;
  white-space:nowrap !important;
}

/* Select ordenado */
.admin-copy-code{
  width:100% !important;
}

.admin-copy-code select,
.admin-copy-code input{
  height:31px !important;
  min-height:31px !important;
  font-size:11.5px !important;
}

/* Botones pequeños alineados a la derecha */
.admin-copy-actions{
  justify-self:end !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:5px !important;
  min-width:160px !important;
}

.admin-copy-btn{
  height:30px !important;
  padding:0 10px !important;
  font-size:11.5px !important;
}

/* Si hay varias solicitudes en la misma hora, se ven como filas internas */
.admin-public-request-line + .admin-public-request-line{
  margin-top:0 !important;
  border-top:1px solid rgba(255,255,255,.07) !important;
}

/* La celda de disponibilidad no debe inflarse raro */
.admin-public-copy-cell{
  vertical-align:middle !important;
}

/* Horas igual estilo público */
.admin-public-copy-table .hour-cell{
  vertical-align:middle !important;
}


/* =========================================================
   ADMIN SOLICITUDES - BOTON CANCELAR SOBRIO
   ========================================================= */

.admin-copy-btn.danger.soft,
.admin-mini-action.reject.soft{
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: none !important;
}

.admin-copy-btn.danger.soft:hover,
.admin-mini-action.reject.soft:hover{
  background: rgba(255,255,255,.12) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.24) !important;
}


/* =========================================================
   ADMIN SOLICITUDES - CANCELAR ROJO COMO RECHAZAR
   ========================================================= */

.admin-copy-btn.danger.soft,
.admin-mini-action.reject.soft{
  background: #ff6574 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

.admin-copy-btn.danger.soft:hover,
.admin-mini-action.reject.soft:hover{
  background: #ff4f61 !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.18) !important;
}


/* =========================================================
   ADMIN SOLICITUDES - CUPOS E INFORMATIVAS
   ========================================================= */

.admin-row-informativa{
  opacity:.55 !important;
  background:rgba(255,255,255,.018) !important;
}

.admin-row-informativa .availability-dot{
  background:rgba(255,255,255,.25) !important;
  box-shadow:none !important;
}

.admin-row-informativa .admin-copy-text strong,
.admin-row-informativa .admin-copy-text small{
  color:rgba(230,238,255,.62) !important;
}

.admin-copy-info,
.admin-copy-note{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:30px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:rgba(255,255,255,.68) !important;
  font-size:11.5px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}

.admin-copy-info{
  width:100% !important;
}


/* =========================================================
   ADMIN SOLICITUDES - CODIGO APROBADO BLOQUEADO
   ========================================================= */

.admin-copy-code-read{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  height:31px !important;
  border-radius:10px !important;
  background:rgba(255,212,90,.13) !important;
  border:1px solid rgba(255,212,90,.30) !important;
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}


/* =========================================================
   ADMIN - MODAL DE CONFIRMACION
   ========================================================= */
body.nexus-confirm-open{
  overflow:hidden;
}

.nexus-confirm-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(3,8,24,.62);
  backdrop-filter:blur(5px);
}

.nexus-confirm-card{
  width:min(100%, 460px);
  border-radius:22px;
  border:1px solid rgba(107,160,255,.22);
  background:linear-gradient(180deg, rgba(37,50,84,.98) 0%, rgba(25,35,64,.98) 100%);
  box-shadow:0 30px 80px rgba(0,0,0,.42);
  color:#eef4ff;
  overflow:hidden;
}

.nexus-confirm-head{
  padding:20px 22px 10px;
}

.nexus-confirm-kicker{
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  color:#ffd45a;
  margin-bottom:6px;
}

.nexus-confirm-title{
  margin:0;
  font-size:25px;
  line-height:1.15;
  font-weight:900;
  color:#ffffff;
}

.nexus-confirm-body{
  padding:0 22px 6px;
}

.nexus-confirm-text{
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:#d7e4ff;
}

.nexus-confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:18px 22px 22px;
}

.nexus-confirm-actions .btn,
.nexus-confirm-cancel,
.nexus-confirm-accept{
  min-width:118px;
  height:40px;
  border-radius:999px;
  font-size:14px;
  font-weight:900;
}

.nexus-confirm-cancel{
  border:1px solid rgba(255,107,122,.34);
  background:linear-gradient(180deg, #ff7e8b 0%, #ef5968 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(239,89,104,.18);
}

.nexus-confirm-cancel:hover{
  filter:brightness(1.03);
}

.nexus-confirm-accept{
  border:1px solid rgba(255,214,92,.34);
  background:linear-gradient(180deg, #ffd85d 0%, #f2bb1b 100%);
  color:#1a2038;
  box-shadow:0 10px 24px rgba(242,187,27,.18);
}

.nexus-confirm-accept:hover{
  filter:brightness(1.03);
}


/* =========================================================
   FIX MODAL CONFIRMACION - NO PEGADO + MAS PEQUEÑO
   ========================================================= */

/* Esta regla es la clave: si tiene hidden, NO debe mostrarse */
.nexus-confirm-overlay[hidden]{
  display:none !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Fondo menos invasivo */
.nexus-confirm-overlay{
  background:rgba(3,8,24,.45) !important;
  backdrop-filter:blur(3px) !important;
}

/* Modal más pequeño y más sutil */
.nexus-confirm-card{
  width:min(100%, 360px) !important;
  border-radius:18px !important;
}

/* Menos alto interno */
.nexus-confirm-head{
  padding:16px 18px 8px !important;
}

.nexus-confirm-kicker{
  font-size:10px !important;
  margin-bottom:5px !important;
}

.nexus-confirm-title{
  font-size:20px !important;
}

.nexus-confirm-body{
  padding:0 18px 4px !important;
}

.nexus-confirm-text{
  font-size:13px !important;
  line-height:1.4 !important;
}

.nexus-confirm-actions{
  padding:14px 18px 16px !important;
  gap:8px !important;
}

.nexus-confirm-actions .btn,
.nexus-confirm-cancel,
.nexus-confirm-accept{
  min-width:96px !important;
  height:34px !important;
  font-size:12px !important;
}


/* =========================================================
   ADMIN - MENSAJE FLASH CENTRADO
   ========================================================= */

.admin-flash-center{
  position:fixed !important;
  inset:0 !important;
  z-index:12000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  pointer-events:none !important;
  transition:opacity .18s ease, transform .18s ease !important;
}

.admin-flash-center.is-hiding{
  opacity:0 !important;
  transform:scale(.98) !important;
}

.admin-flash-toast{
  max-width:420px !important;
  padding:14px 22px !important;
  border-radius:16px !important;
  background:#22b86a !important;
  color:#ffffff !important;
  font-size:15px !important;
  font-weight:950 !important;
  text-align:center !important;
  box-shadow:0 18px 45px rgba(0,0,0,.32) !important;
  border:1px solid rgba(255,255,255,.20) !important;
}

/* Si algún día usas danger/error, no queda verde por error */
.admin-flash-danger,
.admin-flash-error{
  background:#ff6574 !important;
  color:#ffffff !important;
}


/* =========================================================
   ADMIN SOLICITUDES - ROWSPAN TIPO EXCEL SEGURO
   ========================================================= */

.admin-public-copy-cell[rowspan]{
  vertical-align:middle !important;
  border-left:1px solid rgba(255,255,255,.08) !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line{
  min-height:44px !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:first-child{
  border-top:0 !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:last-child{
  border-bottom:0 !important;
}

.admin-public-copy-table .hour-cell{
  border-bottom:1px solid rgba(255,255,255,.07) !important;
}

.admin-public-copy-cell[rowspan] .admin-copy-text small{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* =========================================================
   ADMIN SOLICITUDES - CELDA COMBINADA TIPO EXCEL FINAL
   ========================================================= */

.admin-public-copy-cell[rowspan]{
  vertical-align:middle !important;
  border-left:1px solid rgba(255,255,255,.08) !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line{
  min-height:44px !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:first-child{
  border-top:0 !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:last-child{
  border-bottom:0 !important;
}

.admin-public-copy-cell[rowspan] .admin-copy-text small{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* =========================================================
   ADMIN SOLICITUDES - CELDA COMBINADA TIPO EXCEL FINAL
   ========================================================= */

.admin-public-copy-cell[rowspan]{
  vertical-align:middle !important;
  border-left:1px solid rgba(255,255,255,.08) !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line{
  min-height:44px !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:first-child{
  border-top:0 !important;
}

.admin-public-copy-cell[rowspan] .admin-public-request-line:last-child{
  border-bottom:0 !important;
}

.admin-public-copy-cell[rowspan] .admin-copy-text small{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}


/* =========================================================
   ADMIN SOLICITUDES - VISTA POR CODIGO PATRIMONIAL
   ========================================================= */

.admin-code-cell,
.admin-pending-cell{
  vertical-align:top !important;
  padding:6px 8px !important;
}

.admin-code-free{
  display:flex !important;
  align-items:center !important;
  min-height:30px !important;
  color:rgba(207,222,255,.45) !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.admin-mini-request{
  display:grid !important;
  grid-template-columns:minmax(160px, 1fr) auto !important;
  gap:8px 10px !important;
  align-items:center !important;
  min-height:38px !important;
  padding:6px 8px !important;
  border-radius:10px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:rgba(255,255,255,.035) !important;
  margin:2px 0 !important;
}

.admin-mini-request strong{
  display:block !important;
  color:#fff !important;
  font-size:12px !important;
  line-height:1.15 !important;
}

.admin-mini-request small{
  display:block !important;
  color:#9fc7ff !important;
  font-size:10px !important;
  line-height:1.2 !important;
  margin-top:2px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  max-width:520px !important;
}

.admin-mini-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
}

.admin-mini-actions .admin-assign-select{
  width:170px !important;
  height:28px !important;
  font-size:11px !important;
  padding:0 8px !important;
}

.admin-mini-actions .admin-copy-btn{
  height:28px !important;
  padding:0 11px !important;
  font-size:11px !important;
}

.admin-mini-actions .estado-badge{
  height:25px !important;
  padding:0 10px !important;
  font-size:10px !important;
}

.admin-slot-sobrecupo td{
  background:rgba(255,98,116,.07) !important;
}

.admin-slot-sobrecupo .hour-cell{
  color:#ffb1bc !important;
}

.admin-pending-cell{
  min-width:360px !important;
}

.admin-public-copy-table th{
  white-space:nowrap !important;
}


/* =========================================================
   ADMIN - FORZAR VISTA SIMPLE POR MEDIA HORA
   ========================================================= */

.admin-public-copy-table{
  table-layout:auto !important;
}

.admin-public-copy-table th:nth-child(1),
.admin-public-copy-table td:nth-child(1){
  width:142px !important;
}

.admin-public-copy-cell{
  vertical-align:middle !important;
}

.admin-public-copy-cell[rowspan]{
  vertical-align:middle !important;
}

.admin-code-cell,
.admin-pending-cell,
.admin-mini-request,
.admin-code-free{
  all:unset;
}


/* =========================================================
   ADMIN - HORAS COMPRIMIDAS Y CRUCES
   ========================================================= */

.admin-row-cruce .hour-cell{
  color:#ffd45a !important;
}

.admin-row-cruce .admin-public-copy-cell{
  background:rgba(255,212,90,.045) !important;
}

.admin-row-cruce .admin-public-request-line{
  border-color:rgba(255,212,90,.16) !important;
}


/* =========================================================
   ADMIN - SEPARACION VISUAL DE TRAMOS HORARIOS
   Solo visual. No toca lógica ni backend.
   ========================================================= */

.admin-public-copy-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
}

.admin-public-copy-table tbody tr > td{
  border-top:2px solid rgba(145,174,235,.24) !important;
}

.admin-public-copy-table tbody tr:first-child > td{
  border-top:0 !important;
}

.admin-public-copy-table .hour-cell{
  background:rgba(3,10,27,.72) !important;
  border-right:2px solid rgba(145,174,235,.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    inset 0 -1px 0 rgba(0,0,0,.35) !important;
}

.admin-public-copy-cell{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    inset 0 -1px 0 rgba(0,0,0,.25) !important;
}

.admin-row-cruce > td{
  border-top:2px solid rgba(255,212,90,.60) !important;
  border-bottom:2px solid rgba(255,212,90,.42) !important;
}

.admin-row-cruce .hour-cell{
  background:rgba(255,212,90,.10) !important;
  color:#ffe37a !important;
}

.admin-row-cruce .admin-public-copy-cell{
  background:rgba(255,212,90,.055) !important;
}

.admin-row-cruce .admin-public-request-line{
  border-color:rgba(255,212,90,.22) !important;
}


/* =========================================================
   ADMIN - CRUCE RESUMIDO CON MODAL SOLO VISUAL
   ========================================================= */

.admin-cruce-summary-line{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:12px !important;
  min-height:50px !important;
  padding:8px 10px !important;
  border-radius:12px !important;
  border:1px solid rgba(255,212,90,.28) !important;
  background:linear-gradient(90deg, rgba(255,212,90,.10), rgba(255,212,90,.035)) !important;
}

.admin-cruce-summary-line .availability-text strong{
  color:#ffe37a !important;
}

.admin-cruce-summary-line .availability-text small{
  color:#f7dda1 !important;
}

.admin-cruce-dot{
  background:#ffd45a !important;
  box-shadow:0 0 0 5px rgba(255,212,90,.14) !important;
}

.admin-copy-btn.warning{
  background:#ffd45a !important;
  color:#182033 !important;
  border:1px solid rgba(255,212,90,.65) !important;
}

.admin-cruce-template{
  display:none !important;
}

.admin-cruce-view-overlay{
  position:fixed !important;
  inset:0 !important;
  z-index:10000 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(4,10,24,.72) !important;
  backdrop-filter:blur(8px) !important;
}

.admin-cruce-view-overlay[hidden]{
  display:none !important;
}

.admin-cruce-view-card{
  position:relative !important;
  width:min(920px, 96vw) !important;
  max-height:84vh !important;
  overflow:auto !important;
  padding:22px !important;
  border-radius:22px !important;
  border:1px solid rgba(91,139,255,.28) !important;
  background:linear-gradient(145deg,#202a46,#141c31) !important;
  box-shadow:0 28px 80px rgba(0,0,0,.50) !important;
}

.admin-cruce-view-close{
  position:absolute !important;
  top:12px !important;
  right:14px !important;
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,255,255,.15) !important;
  background:rgba(255,255,255,.06) !important;
  color:#ffffff !important;
  font-size:24px !important;
  line-height:30px !important;
  cursor:pointer !important;
}

.admin-cruce-modal-head{
  display:grid !important;
  gap:4px !important;
  margin-bottom:14px !important;
  padding-right:42px !important;
}

.admin-cruce-modal-head span{
  color:#ffd45a !important;
  font-size:12px !important;
  font-weight:950 !important;
  letter-spacing:.12em !important;
}

.admin-cruce-modal-head strong{
  color:#ffffff !important;
  font-size:24px !important;
  font-weight:950 !important;
}

.admin-cruce-modal-head small{
  color:#b9c8ea !important;
  font-size:13px !important;
}

.admin-cruce-modal-list{
  display:grid !important;
  gap:8px !important;
}

.admin-cruce-modal-item{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:12px !important;
  padding:10px 12px !important;
  border-radius:14px !important;
  border:1px solid rgba(255,255,255,.09) !important;
  background:rgba(255,255,255,.045) !important;
}

.admin-cruce-modal-item strong{
  display:block !important;
  color:#ffffff !important;
  font-size:14px !important;
}

.admin-cruce-modal-item small{
  display:block !important;
  margin-top:3px !important;
  color:#9fc7ff !important;
  font-size:12px !important;
  line-height:1.35 !important;
}


/* =========================================================
   HEADER NEXUS COMPARTIDO - ADMIN
   ========================================================= */

.nexus-panel-header{
  position:relative !important;
  z-index:50 !important;
  min-height:88px !important;
  padding:14px 28px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(0,152,255,.22), transparent 34%),
    linear-gradient(180deg, #071124 0%, #08142d 100%) !important;
  border-bottom:1px solid rgba(72,153,255,.22) !important;
  box-shadow:
    0 12px 38px rgba(0,0,0,.34),
    inset 0 -1px 0 rgba(255,255,255,.04) !important;
}

.nexus-panel-header::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:2px !important;
  background:linear-gradient(90deg, transparent, #159eff, #ffd23d, transparent) !important;
  box-shadow:0 0 20px rgba(21,158,255,.7) !important;
}

.nexus-panel-brand{
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  text-decoration:none !important;
  min-width:0 !important;
}

.nexus-panel-logo-box{
  width:178px !important;
  height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
}

.nexus-panel-logo{
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  filter:drop-shadow(0 0 16px rgba(0,145,255,.45)) !important;
}

.nexus-panel-divider{
  width:1px !important;
  height:54px !important;
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.70), transparent) !important;
  opacity:.85 !important;
  flex:0 0 auto !important;
}

.nexus-panel-title-box{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-width:0 !important;
}

.nexus-panel-title-box strong{
  color:#ffffff !important;
  font-size:22px !important;
  line-height:1.05 !important;
  font-weight:1000 !important;
  letter-spacing:-.025em !important;
  text-shadow:0 0 18px rgba(71,159,255,.25) !important;
}

.nexus-panel-title-box span{
  margin-top:3px !important;
  color:rgba(235,244,255,.88) !important;
  font-size:14px !important;
  font-weight:700 !important;
}

.nexus-panel-title-box small{
  margin-top:2px !important;
  color:#ffd23d !important;
  font-size:13px !important;
  font-weight:1000 !important;
}

.nexus-panel-context{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:center !important;
  gap:4px !important;
  padding:10px 15px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
  white-space:nowrap !important;
}

.nexus-panel-context span{
  color:#8fc8ff !important;
  font-size:10px !important;
  font-weight:1000 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase !important;
}

.nexus-panel-context strong{
  color:#ffffff !important;
  font-size:13px !important;
  font-weight:950 !important;
}

.has-panel-header .admin-layout{
  min-height:calc(100vh - 88px) !important;
}

/* Como el logo ya vive arriba, evitamos duplicarlo en el menú lateral */
.has-panel-header .admin-sidebar > .brand{
  display:none !important;
}

.has-panel-header .admin-sidebar{
  padding-top:18px !important;
}

@media (max-width: 840px){
  .nexus-panel-header{
    min-height:auto !important;
    padding:13px 16px !important;
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .nexus-panel-brand{
    gap:12px !important;
    width:100% !important;
  }

  .nexus-panel-logo-box{
    width:128px !important;
    height:42px !important;
  }

  .nexus-panel-divider{
    height:42px !important;
  }

  .nexus-panel-title-box strong{
    font-size:17px !important;
  }

  .nexus-panel-title-box span{
    font-size:12px !important;
  }

  .nexus-panel-title-box small{
    font-size:11px !important;
  }

  .nexus-panel-context{
    width:100% !important;
    align-items:flex-start !important;
  }

  .has-panel-header .admin-layout{
    min-height:calc(100vh - 122px) !important;
  }
}


/* FIX LOGO HEADER NEXUS */
.nexus-panel-logo-box{
  width:190px !important;
  height:58px !important;
}

.nexus-panel-logo{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}


/* =========================================================
   ADMIN - FONDO LATERAL CONTINUO
   ========================================================= */

.has-panel-header .admin-layout{
  min-height:calc(100vh - 88px) !important;
  align-items:stretch !important;
}

.has-panel-header .admin-sidebar{
  min-height:calc(100vh - 88px) !important;
  align-self:stretch !important;
  background:
    linear-gradient(180deg, rgba(8,15,31,.98), rgba(8,15,31,.98)) !important;
}

/* Capa fija detrás del menú para que nunca se vea el corte al hacer scroll */
body.has-panel-header::before{
  content:"" !important;
  position:fixed !important;
  left:0 !important;
  top:88px !important;
  bottom:0 !important;
  width:255px !important;
  z-index:0 !important;
  background:
    linear-gradient(180deg, rgba(8,15,31,.98), rgba(8,15,31,.98)) !important;
  pointer-events:none !important;
}

.has-panel-header .admin-sidebar,
.has-panel-header .admin-main{
  position:relative !important;
  z-index:1 !important;
}

@media (max-width: 840px){
  body.has-panel-header::before{
    display:none !important;
  }

  .has-panel-header .admin-sidebar{
    min-height:auto !important;
  }
}


/* =========================================================
   ADMIN - RESTAURAR CRUCE DORADO ESTABLE
   ========================================================= */

.admin-cruce-blocked-row{
  grid-template-columns:minmax(0, 1fr) auto !important;
  border-color:rgba(255,212,90,.22) !important;
  background:rgba(255,212,90,.035) !important;
}

.admin-cruce-blocked-row .admin-copy-status,
.admin-cruce-blocked-row .admin-copy-code,
.admin-cruce-blocked-row .admin-copy-actions{
  display:none !important;
}

.admin-cruce-blocked-row::after{
  content:"Revisar cruce de solicitudes" !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:28px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  background:rgba(255,212,90,.18) !important;
  border:1px solid rgba(255,212,90,.42) !important;
  color:#ffe37a !important;
  font-size:11px !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}

.admin-cruce-blocked-row .availability-text strong{
  color:#ffe37a !important;
}

.admin-cruce-blocked-row .availability-text small{
  color:#f7dda1 !important;
}


/* =========================================================
   CRUCE - TEXTO BLANCO SIN CAPSULA
   ========================================================= */

.admin-cruce-blocked-row{
  grid-template-columns:minmax(0, 1fr) auto !important;
}

.admin-cruce-blocked-row::after{
  content:"Revisar cruce de solicitudes" !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  min-height:auto !important;
  padding:0 !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:800 !important;
  white-space:nowrap !important;
}

