@import "ooh-theme.css";

body {
  min-height: 100vh;
  margin: 0;
  height: 100vh;
  overflow-y: hidden;
  overflow-x: hidden;
}

.goffeelogo {
  display: block;
  margin: -3px auto;
  height: 35px;
}
header .name-app{
  font-size: 20px;
  margin-left: 10px;
}
.name-app{
  font-family: "Averia Libre", system-ui;
  font-weight: 700;
  color: var(--ooh-navy-800);
}
header .name-appdet{
  font-size: 18px;
  margin-left: 5px;
}
.name-appdet{
  color: #8A94A6;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 500;
}
.bg-login{
  background-image: url('./img/login.svg');
  background-repeat:no-repeat;
  background-size: cover;
}

.form-login{
  margin-left: auto;
  margin-right: auto;
  max-width: 20rem;
  font-family: 'Inter', sans-serif;
}
.ms-signin-btn{
  width: 100%;
  height: 41px;
  margin-left: auto;
  margin-right: auto;
  max-width: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 0;               /* Microsoft no permite esquinas redondeadas aquí */
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease;
  border: 1px solid #8C8C8C;
 /*
  background-color: #FFFFFF;
  color: #5E5E5E;
 */
  color: #fff;
  border-color: #0067b8;
  background-color: #0067b8;
}
.ms-signin-btn:hover{ 
  background-color: #2F2F2F;
  color: #FFFFFF;
}
.avatar button{
 /* width: 30px;*/
  height: 30px;
  border-radius: 15px;
  background: var(--ooh-navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Space Grotesk';
  padding-inline: 18px;
}
/* no permission*/

.restricted-wrap{
  min-height: calc(100vh - 64px);
  display:flex; align-items:center; justify-content:center;
}
.restricted-icon{
  width:84px; height:84px; border-radius:50%;
  background:var(--ooh-navy-050); color:var(--ooh-ink-soft);
  display:flex; align-items:center; justify-content:center;
  font-size:32px; margin:0 auto 24px;
}
/*  Sidebar
*/
.sidebar{
  width:200px;
  background:var(--ooh-navy-900);
  flex:none;min-height:100vh;
}
.sidebar .nav-link {
  /*color: #AEC0E6;*/
  font-size: .875rem;
  font-weight: 500;
  padding: .6rem .75rem;
  border-radius: .375rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.sidebar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.sidebar .nav-link.active {
  color: #fff;
  background: rgba(56, 188, 220, .12);
  box-shadow: inset 3px 0 0 var(--ooh-cyan-500);
}

.sidebar hr {
  border-color: rgba(255, 255, 255, .8);
}

.sidebar .nav-section-label{font-size:.6875rem;text-transform:uppercase;letter-spacing:.06em;color:#5B6684;font-weight:600;padding:.9rem .75rem .3rem;}
.sidebar .nav-group{display:flex;align-items:center;}
.sidebar .nav-group .nav-link{flex:1;margin-bottom:0;}
.sidebar .caret-btn{background:transparent;border:none;color:#AEC0E6;padding:.5rem .6rem;border-radius:.375rem;line-height:0;}
.sidebar .caret-btn:hover{color:#fff;background:rgba(255,255,255,.06);}
.sidebar .caret-btn i{transition:transform .2s ease;display:block;}
.sidebar .caret-btn[aria-expanded="true"] i{transform:rotate(180deg);}
.sidebar .nav-sublink{color:#8FA3C9;font-size:.8125rem;padding:.45rem .75rem .45rem 2.4rem;border-radius:.375rem;display:flex;align-items:center;margin-bottom:2px;text-decoration:none;}
.sidebar .nav-sublink:hover{color:#fff;background:rgba(255,255,255,.06);}
.sidebar .nav-sublink.active{color:#fff;background:rgba(56,188,220,.12);box-shadow:inset 3px 0 0 var(--ooh-cyan-500);}

.alert{
  font-size: 13px;
}
.alert-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}
.bg-login .alert{
  position: absolute;
  top: 20px;
  right: 30px;
}
/*   timeline
*/

.timeline-widget .timeline-item {
  min-height: 56px;
}
.timeline-widget .timeline-item .timeline-time {
  padding: 6px 16px 6px 0;
  min-width: 180px;
}
.timeline-widget .timeline-item .timeline-badge-wrap .timeline-badge {
  width: 12px;
  height: 12px;
  border-radius: 50px;
}
.timeline-widget .timeline-item .timeline-badge-wrap .timeline-badge-border {
  width: 1px;
  height: 100%;
  background-color: #d4dade;
}
.timeline-widget .timeline-item .timeline-desc {
  padding: 6px 16px;
}

/*
console
*/
.console {
  background: var(--ooh-navy-900);
  color: #CFE9F2;
  border-radius: var(--bs-border-radius);
  padding: 18px 20px;
  font-family: 'JetBrains Mono';
  font-size: 12.5px;
  line-height: 1.9;
  overflow-x: auto;
  max-height: 300px;
  overflow-y: auto;
  max-width: 800px;
}
.console .t {
  color: #6E86B8;
  margin-right: 10px;
}

.table-scroll{
  max-height: calc(100vh - 280px);
  overflow-y: auto;
}
.table-scroll thead th{
  position: sticky;
  top: 0;
  z-index: 1;
}
.page-scroll{
  height: calc(100vh - 155px);
  overflow-y: auto;
}

/* info list*/
.info-list{display:flex;flex-direction:column;}
.info-row{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:.75rem;
  padding:.7rem 1.25rem;
  border-bottom:1px solid var(--ooh-line);
}
.info-row:last-child{
  border-bottom:none;
}
.info-row dt{
  font-size:.8125rem;
  color:var(--ooh-ink-soft);
  font-weight:500;
  margin:0;
}
.info-row dd{
  font-size:.875rem;
  color:var(--ooh-ink);
  font-weight:600;margin:0;
}

.txt-detail{
  font-size:.8125rem;
  color:var(--ooh-ink-soft);
  font-weight:500;
}
.content_scroll{
  max-height: calc(100vh - 45px);
  overflow-y: auto;
}

.firstcol-hide th:nth-child(1), .firstcol-hide td:nth-child(1){
  display: none;
}

/***
*  Reports
***/
@page {
  margin: 0;
}

@media print {
  html,
  body {
    margin: 0;
    padding: 0;
  }
}
.report-scroll{
  max-height: calc(100vh - 145px);
  overflow-y: auto;
  width: calc(100vw - 560px);

}
.report{
  padding: 0px 50px;
  width: 1070px;
  height: auto;
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  transform-origin: top left;
  transition: transform 0.2s ease;
  position: relative;
}
.header-report{
  display: flex;
  border-bottom:  1px solid var(--ooh-line);
  margin-bottom: 24px;
  height: 125px;
}
.report-title{
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ooh-navy-900);
  font-size: 26px;
  font-weight: 400;
  /*text-align: center;*/

}
.report-client{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ooh-cyan-700);
  margin: 6px 0 0;

}
.report-logo{
  padding: 50px 0px 26px;
}
.accent-header{
  position: absolute;
  top: 0;
  right: -18px;
  width: 180px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  margin-top: -17px;
}
#container-report{
  width: 1140px;
  background: #fff;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  padding: 40px 30px;
  border-radius: 3px;
  border: 1px solid #d9d9d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 6px 18px rgba(0, 0, 0, 0.12);

}
.client-checklist{
  overflow-y: auto;
  height: calc(100vh - 330px);
}
.checklist-item:has(input:checked) {
    background-color: var(--ooh-navy-800);
    color: white;
}
.checklist-item {
  cursor: pointer;
  border-bottom: 1px solid var(--ooh-line);
  font-size: 0.9rem;
}
.zoom-controls{
  display: flex;
  position: absolute;
  flex-direction: column;
  bottom: 25px;
  right: 25px;
  box-shadow: 0 8px 24px rgba(1, 18, 65, 0.14);
  z-index: 10;
}
.report-info {
  display: flex;
  /*grid-template-columns:  1.5fr 1fr 2fr;*/
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0px 20px;
}

.report-info > div {
  background: white;
  border: 1px solid var(--ooh-line); /* #24b5d5;*/
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.report-info span {
  font-size: 16px;
}

.report-info strong {
  color: #24b5d5;
  font-size: 18px;
}

.date {
  justify-content: center;
}


/* CONTENIDO */

.report-content {
  display: grid;
  grid-template-columns:  1fr    1.2fr;
  gap: 30px;
  padding: 0px;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 55px;
}
.cr-success::before,
.cr-warning::before,
.cr-danger::before {
    content: "●";
    margin-right: 5px;
}
td.cr-success {
  color: #22A06B;
  font-weight: 700;
}

td.cr-warning {
  color: #D9A326;
  font-weight: 700;
}

td.cr-danger {
  color: #E1504F;
  font-weight: 700;
}
td.text-wrap {
  max-width: 400px;
}
/* CARD */

.chart-card {
  background: white;
  border: 1px solid var(--ooh-line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 200px;
}

.kpis{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  gap: 10px;
}
.kpi-card{
  background: #FFF;
  border: 1px solid #24b5d5;
  border-radius: var(--bs-border-radius);
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
  width: 158px;
  border-top-width: 4px;
}
.kpi-label{
  font-size: 12px;
  color: var(--ooh-nk-soft);
  font-weight: 600;
  margin-bottom: 5px;
}
.kpi-value{
  font-family: 'JetBrains Mono';
  font-size: 36px;
  font-weight: 600;
  color: var(--ooh-ink);
}
.report-state{
  border: 1px solid var(--ooh-line);
  border-radius: 14px;
  padding: 14px 16px;
  color: #011241;
}
/* tabla  */
.empty-state{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #011241;
  margin: 0 0 4px;
}
.table-inactive{
  background: white;
  border: 1px solid #28b6d7;
  border-radius: 12px;
  overflow: hidden;
}
.table-inactive h2 {
  padding: 7px;
  text-align: center;
}

.table-inactive table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.table-inactive thead {
  background: #36b5d3;
  color: white;
}

.table-inactive th,
.table-inactive td {
  padding: 9px 10px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}


.wrapper-loader{
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 1, 0.45);
  z-index: 9999;
  width: 100%;
}

.bl-loader{
  background-color: #FFF;
  padding: 15px 30px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  position: fixed;
  align-items: center;
  gap: 10px;
}
.hide{
  display: none;
}
.list-alert>.list-group-item{
  border-left: 3px solid var(--ooh-cyan-600);
}