/* NODITO · Enterprise Help Center · NODOVOX */
.nodito-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:999999;
  font-family:Inter,Arial,sans-serif;
}
.nodito-launch{
  width:70px;
  height:70px;
  border:1px solid rgba(53,194,255,.28);
  border-radius:50%;
  background:radial-gradient(circle at 32% 24%,rgba(53,194,255,.26),transparent 34%),linear-gradient(135deg,#071427,#123a63);
  box-shadow:0 24px 70px rgba(7,20,39,.36);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.nodito-launch img{
  width:48px;
  height:48px;
  object-fit:contain;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.22));
}
.nodito-panel{
  position:absolute;
  right:0;
  bottom:86px;
  width:430px;
  max-width:calc(100vw - 28px);
  height:720px;
  max-height:calc(100vh - 42px);
  display:none;
  flex-direction:column;
  background:#071427;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 32px 90px rgba(2,10,24,.50);
  border:1px solid rgba(53,194,255,.18);
}
.nodito-home{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}

.nodito-home-top{
  padding:24px 24px 28px;
  background:
    radial-gradient(circle at 85% 8%,rgba(53,194,255,.24),transparent 28%),
    radial-gradient(circle at 8% 92%,rgba(47,109,246,.20),transparent 30%),
    linear-gradient(135deg,#061528 0%,#123a63 58%,#0b2442 100%);
  color:#fff;
}
.nodito-headline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}
.nodito-mark{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(53,194,255,.30);
  border-radius:14px;
  padding:10px 12px;
  font-weight:900;
  letter-spacing:.04em;
  color:#f8fbff;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.nodito-close{
  width:36px;
  height:36px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
  color:#fff;
  background:rgba(7,20,39,.36);
  font-size:24px;
  cursor:pointer;
}
.nodito-agents{
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:18px;
}
.nodito-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,.52);
  margin-right:-10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.24);
  background-size:cover!important;
  background-position:center!important;
  background-color:#123a63;
}
.nodito-avatar.carlos{background-image:url('/assets/nodito/carlos.png')}
.nodito-avatar.tomas{background-image:url('/assets/nodito/tomas.png')}
.nodito-avatar.sofia{background-image:url('/assets/nodito/sofia.png')}
.nodito-avatar.silvia{background-image:url('/assets/nodito/silvia.png')}
.nodito-avatar.c{background-image:url('/assets/nodito/carlos.png')}
.nodito-avatar.t{background-image:url('/assets/nodito/tomas.png')}
.nodito-avatar.l{background-image:url('/assets/nodito/sofia.png')}
.nodito-kicker{
  display:inline-flex;
  margin:0 0 10px;
  color:#9fdcff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.nodito-welcome{
  font-size:29px;
  line-height:1.08;
  font-weight:900;
  max-width:350px;
  letter-spacing:-.045em;
}
.nodito-body{
  flex:1 1 auto;
  min-height:0;
  background:#0b1421;
  padding:18px 18px 96px;
  overflow-y:auto;
  overflow-x:hidden;
}
.nodito-start{
  background:linear-gradient(135deg,#111d2d,#0c1725);
  border:1px solid rgba(53,194,255,.16);
  border-radius:18px;
  padding:18px;
  margin-bottom:14px;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(0,0,0,.20);
}
.nodito-start:hover{
  border-color:rgba(53,194,255,.34);
  background:linear-gradient(135deg,#123a63,#0c1725);
}
.nodito-start strong{font-size:15px}
.nodito-mini-avatars{
  display:flex;
  align-items:center;
}
.nodito-mini{
  width:32px;
  height:32px;
  border-radius:50%;
  border:2px solid #0c1725;
  margin-left:-8px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0;
  font-weight:900;
  color:#fff;
  background-size:cover!important;
  background-position:center!important;
  background-color:#123a63;
}
.nodito-mini.carlos{background-image:url('/assets/nodito/carlos56.png')}
.nodito-mini.tomas{background-image:url('/assets/nodito/tomas56.png')}
.nodito-mini.sofia{background-image:url('/assets/nodito/sofia56.png')}
.nodito-mini.silvia{background-image:url('/assets/nodito/silvia56.png')}
.nodito-mini.c{background-image:url('/assets/nodito/carlos56.png')}
.nodito-mini.t{background-image:url('/assets/nodito/tomas56.png')}
.nodito-mini.l{background-image:url('/assets/nodito/sofia56.png')}
.nodito-card{
  background:#101b2a;
  border:1px solid rgba(53,194,255,.13);
  border-radius:18px;
  padding:14px;
  margin-bottom:14px;
  color:#fff;
}
.nodito-card-title{
  font-weight:900;
  margin-bottom:12px;
  color:#f8fbff;
}
.nodito-search{
  display:flex;
  align-items:center;
  gap:8px;
  background:#172435;
  border:1px solid rgba(53,194,255,.14);
  border-radius:12px;
  padding:10px 12px;
  margin-bottom:10px;
}
.nodito-search input{
  flex:1;
  background:transparent;
  border:0;
  color:#fff;
  outline:0;
  font-size:14px;
}
.nodito-search input::placeholder{color:#91a4bf}
.nodito-search button{
  border:0;
  background:transparent;
  color:#35c2ff;
  font-weight:900;
  cursor:pointer;
}
.nodito-suggestions{
  display:flex;
  flex-direction:column;
}
.nodito-suggestions button{
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#c7d2e4;
  text-align:left;
  padding:13px 4px;
  cursor:pointer;
  font-size:14px;
  line-height:1.35;
}
.nodito-suggestions button:hover{color:#fff}
.nodito-tabbar{
  height:72px;
  min-height:72px;
  background:#0b1421;
  border-top:1px solid rgba(53,194,255,.11);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  color:#8794a8;
}
.nodito-tabbar button{
  background:transparent;
  border:0;
  color:inherit;
  font-weight:800;
  cursor:pointer;
}
.nodito-tabbar button.active{color:#35c2ff}
.nodito-chat{
  display:none;
  flex-direction:column;
  height:100%;
  background:#f6f8fc;
}
.nodito-chat-header{
  background:linear-gradient(135deg,#071427,#123a63);
  color:#fff;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nodito-chat-header strong{display:block}
.nodito-chat-header small{display:block;color:#9fdcff;font-size:12px}
.nodito-back{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.12);
  color:#fff;
  border-radius:50%;
  width:34px;
  height:34px;
  font-size:18px;
  cursor:pointer;
}
.nodito-messages{
  flex:1;
  overflow:auto;
  padding:16px;
}
.nodito-msg{
  padding:14px;
  border-radius:16px;
  margin-bottom:12px;
  font-size:14px;
  line-height:1.5;
  max-width:86%;
}
.nodito-msg.bot{
  background:#fff;
  border:1px solid #dfe7f2;
  color:#1d2a44;
}
.nodito-msg.user{
  margin-left:auto;
  background:#123a63;
  color:#fff;
}
.nodito-msg-title{
  font-weight:900;
  margin-bottom:6px;
}
.nodito-msg a{
  display:inline-flex;
  margin-top:10px;
  background:#071427;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
  padding:8px 10px;
  font-weight:900;
  font-size:12px;
}
.nodito-form{
  display:flex;
  gap:8px;
  padding:12px;
  background:#fff;
  border-top:1px solid #e3ebf5;
}
.nodito-form input{
  flex:1;
  border:1px solid #d6dfeb;
  border-radius:12px;
  padding:12px;
  outline:0;
}
.nodito-form button{
  background:#071427;
  color:#fff;
  border:0;
  padding:0 18px;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:600px){
  .nodito-widget{right:12px;bottom:12px}
  .nodito-panel{width:calc(100vw - 24px);height:calc(100vh - 24px);bottom:84px}
  .nodito-welcome{font-size:25px}
  .nodito-home-top{padding:22px 20px 24px}
}


/* Ajuste anti-corte inferior NODITO */
#noditoHome{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
}
#noditoHome .nodito-body{
  flex:1 1 auto;
  min-height:0;
  padding-bottom:104px!important;
}


/* NODITO · Personas expertas por función */
.nodito-msg.bot{
  border-left:4px solid #35C2FF;
  position:relative;
}

.nodito-agent-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  padding-bottom:10px;
  border-bottom:1px solid #e3ebf5;
}

.nodito-agent-line img{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #d9e8f7;
  background:#123a63;
}

.nodito-agent-line strong{
  display:block;
  font-size:13px;
  line-height:1.1;
  color:#0b2442;
  font-weight:900;
}

.nodito-agent-line span{
  display:block;
  margin-top:3px;
  font-size:11px;
  line-height:1.2;
  color:#607089;
  font-weight:800;
}

.nodito-msg.bot.agent-commercial{border-left-color:#35C2FF}
.nodito-msg.bot.agent-metadata{border-left-color:#2F6DF6}
.nodito-msg.bot.agent-support{border-left-color:#1BAAD4}
.nodito-msg.bot.agent-discovery{border-left-color:#123A63}

.nodito-avatar.carlos,
.nodito-mini.carlos{box-shadow:0 0 0 2px rgba(53,194,255,.30),0 10px 24px rgba(0,0,0,.24)}

.nodito-avatar.tomas,
.nodito-mini.tomas{box-shadow:0 0 0 2px rgba(47,109,246,.32),0 10px 24px rgba(0,0,0,.24)}

.nodito-avatar.sofia,
.nodito-mini.sofia{box-shadow:0 0 0 2px rgba(18,58,99,.45),0 10px 24px rgba(0,0,0,.24)}

.nodito-avatar.silvia,
.nodito-mini.silvia{box-shadow:0 0 0 2px rgba(27,170,212,.34),0 10px 24px rgba(0,0,0,.24)}

