@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/Inter/Inter-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'InterBold';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Inter/Inter-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'InterRegular';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Inter/Inter-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'InterSemiBold';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/Inter/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Bahnschrift';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Bahnschrift/BAHNSCHRIFT.TTF') format('truetype');
}

html,
body {
  height: 100%;
}
.main-sidebar {
	padding-top: 100px !important;
}

.set{
    color: #28a745;
    font-style: italic;
}

.not-set{
    color: #c55;
    font-style: italic;
}

.sidebar-toggle {
	bottom: 0;
  position: absolute;
}

.logo img{
  width: 230px;
}

.logo{
	padding: 0px !important;
	height: 92px !important;
}

.navbar{
	height: 92px;
}

.invoice-col b {
  font-family: InterBold !important;
}

.invoice-info {
  padding: 30px 0px;
}

.mailbox-attachments {
  margin-top: 30px !important;
}

.mailbox-attachment-icon{
  height: 150px;
  overflow: hidden;
}

.mailbox-attachment-icon img{
  max-width: 105px;
   margin: 0 auto;
}

.mailbox-attachment-icon .img-dni {
  max-width: 165px;
}


.profile-user-img {
  border: 0;
}

.content-wrapper {
  background-color: #ffffff !important;
}

.bg-custom-blue {
  background-color: #dce6ec  !important;
}

.login-page-admin {
  background-image: url('../images/fondo-20.png');
  background-position-x: right;
  background-repeat: no-repeat;
}

.login-page-admin .site-login {
  padding-top: 100px !important;
  width: 35%;
}

#btn-preview-cert {
  margin-bottom: 40px;
}

/* preview certr */

#preview-cert p {
    text-align: left;
}

#preview-cert .title, #preview-cert .subtitle {
    text-align: center;
}

#preview-cert hr {
    border-top: 1px solid #dcdcdc;
}

#preview-cert .box-title {
    background-color: #f1f1f1;
    padding: 3px 13px;
    /*text-t*/
}

p {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

/* CREDENCIAL */

.site-credencial {
  /* width: 60%; */
  margin: 0 auto;
}

#credencial {
  font-variant: normal !important;
  font-family: Inter;
  /*background-color: #f7f7f7; */
  border: 1px solid #AAAAAA;
  /*width: 242px; 
  height: 142px;*/
  width: 8.56cm;
  height: 5.398cm;
  border-radius: 10px;
  /* estilos para ubicar en el centro de la pagina */
  margin: 0 auto;
  background-image: url(../images/fondo-20.png);
  background-repeat: no-repeat;
  background-size: cover;
}

#credencial.preview{
  margin-top: 50px;
  display: none;
  margin-bottom: 65px;

}

#credencial.preview #distincion.tipo-miembro p {
  transform-origin: 83px 81px;
}

#credencial #header{
  height: 90px;
  width: 100%;
}

#credencial #logo{
  padding:0;
  margin:0;
}

#credencial #logo img{
  padding-top: 10px;
  margin-left: 26px;
  width: 195px;

}

#credencial #foto {
  padding: 8px 6px 0px 20px;
}

#credencial #foto img {
  border-radius: 50%;
  width: 73px;
  height: 73px;
  border: 3px solid #1e1d57;
}

#banda{
  padding: 3px 26px;
  background-color: #436fa0;
  height: 32px;
  font-weight: bolder;
  font-size: 19px;
  color: white;
  text-align: center;
  letter-spacing: 2px;
  font-family: Bahnschrift;
}


/*INSPECTORES*/
#credencial .tipo4 p, #credencial .tipo5 p, #credencial .tipo6 p, #credencial .tipo8 p, #credencial .tipo9 p{
    width: 193px;
    font-size: 8px!important;
    transform-origin: 100px 95px !important;
    font-weight: bolder;
}

#credencial .tipo4,#credencial .tipo5,#credencial .tipo6,#credencial .tipo8,#credencial .tipo9{
    background-color: #28b7d7;
}

/*SEGURIDAD SINIESTRAL*/
#credencial .tipo7 p{
    width: 193px;
    font-size: 8px!important;
    transform-origin: 100px 95px !important;
    font-weight: bolder !important;

}

#credencial .tipo7{
    background-color: #c52630;
}
/*SEGURIDAD SINIESTRAL*/

#credencial .tipo3 {
  background-color: #1E1C56;
}

#credencial .tipo2 {
  background-color: #000;
}

#credencial .tipo1 {
  background-color: #9DCBCE;
}

#credencial .tipo-miembro {
  background-color: #AAAAAA;
  
}

#credencial #distincion.tipo1 p {
  transform-origin: 102px 100px;
  font-size: 10px;
  letter-spacing: 2px;
  width: 200px;
}

#credencial #distincion.tipo3 p {
  transform-origin: 77px 74px;
}


#credencial #distincion.tipo-miembro p {
  font-size: 10px;
  color: #fff;
  letter-spacing: 2px;
  width: 230px;
  text-transform: lowercase !important;
  font-weight: 600;
  transform-origin: 109px 108px;
}

#credencial #distincion {
  width: 20px;
  float: left;
  position: absolute;
  height: 202px;
  border-radius: 6px 0px 0px 6px;
  text-transform: uppercase;
}

#credencial #distincion.tipo2 p{
  transform-origin: 75px 72px;
}

#credencial #distincion p {
    transform-origin: 76px 75px;
    transform: rotate(270deg);
    font-size: 10px;
    font-weight: bolder;
    color: #fff;
    letter-spacing: 4px;
}

#credencial #datos {
  line-height: 1.3;
  padding: 10px 0 0 30px;
}

#credencial #datos p {
  text-align: left;
 /* text-transform: lowercase;*/
  font-size: 8px;
  margin: 0;
}

#credencial #datos .nombre {
  text-transform: uppercase;
  font-weight: bold;
}

/*#credencial #datos .titulo:first-letter {
  text-transform: capitalize;
}*/

#credencial #datos .institucion {
  text-transform: capitalize;
}

#credencial #datos .distrito {
  text-transform: capitalize;
  font-weight: bold;
}


#credencial #bandera img{
  float: right;
  right: 15px;
  position: relative;
  right: 13px;
  bottom: 24px;
  height: 27px;
  width: 27px;
  border-radius: 18px 18px 18px 18px;
}

#credencial #datos .dni{
  font-weight: bold !important;
}

#credencial #datos .institucion, #credencial #datos .titulo{
  font-size: 6px !important;
}

#credencial #firma {
  padding: 10px 0 0 0;
  line-height: 1;
} 

#credencial #firma img{
  margin: 0 auto;
  padding: 0px 10px 5px 10px;
} 

#credencial #firma p{
  font-size: 6px;
  margin:2px;
}

#credencial #qr {
  padding: 10px 0 0 0;
} 


#credencial #qr-image{
  width: 50px
}

#credencial #qr img{
  margin: 0 auto;
} 

#footer{
   height: 90px;
}

.form_holder fieldset button{
  width: 20%;
  float: right;
}

.previous {
  margin-right: 10px;
}

/* CREDENCIAL DORSO */

#credencial-dorso {
  font-variant: normal !important;
  font-family: Inter;
  /*background-color: #f7f7f7; */
  border: 1px solid #AAAAAA;
  /*width: 242px; 
  height: 142px;*/
  width: 8.56cm;
  height: 5.398cm;
  border-radius: 10px;
  /* estilos para ubicar en el centro de la pagina */
  margin: 0 auto;
  background-image: url(../images/fondo-20.png);
  background-repeat: no-repeat;
  background-size: cover;
}


#header-dorso {
  height: 106px;
  padding: 36px;

}

#header-dorso p {
  text-transform: uppercase;
  font-size: 11px;
  font-family: Bahnschrift;
}

#footer-dorso {
    height: 96px;
    font-size: 17px;
    color: #436fa0;
        padding: 21px;
}

#footer-dorso p {
  text-transform: uppercase;
  font-size: 15px;
  font-family: Bahnschrift;
}


#descargar {
  display: block;
  margin-top: 30px;
  /* width: 200px; */
}


.dropdown.notifications-menu.recordatorio{
  padding: 10px 35px;
}


.clickeable{ 
    cursor: pointer; 
}

.hiddenRow {
    padding: 0 !important;
}

.spinner-border {
  display: inline-block !important;
  width: 2rem !important;

  border-right-color: transparent !important;
  border-radius: 50% !important;
  -webkit-animation: spinner-border 0.75s linear infinite !important;
  animation: spinner-border 0.75s linear infinite !important;
}

.wrapper-cant-result {
  float: right;
}

.table-responsive.matriculados{
  min-height: 490px;
}

@media (max-width: 767px){
  .navbar {
       height: 70px; 
  }

  .wrapper-cant-result {
    float: none;
  }

  .export-menu {
    padding: 10px 0 !important;
  }

  .main-sidebar {
    top:80px !important;
  }

  .mailbox-attachments li {
      float:none;
      width: 100% !important;
  }

}


@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width: 1024px)  {

    /* Force table to not be like tables anymore */
    .validacion table, .validacion thead, .validacion tbody, .validacion th, .validacion td, .validacion tr { 
      display: block; 
    }
    
    /* Hide table headers (but not display: none;, for accessibility) */
    .validacion thead tr { 
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    .validacion td { 
      /* Behave  like a "row" */
      border: none;
      border-bottom: 1px solid #eee; 
      position: relative;
      padding-left: 50%; 
    }
    
    .validacion td:before { 
      /* Now like a table header 
     position: absolute;*/
      /* Top/left values mimic padding */
      top: 6px;
      left: 6px;
      width: 45%; 
      padding-right: 10px; 
      white-space: nowrap;
    }
    
    .validacion #w4-filters{
      display: contents;
    } 

    /*
    Label the data */

  
    .validacion td:nth-of-type(2):before { content: "Estado"; }
   
    .validacion td:nth-of-type(3):before { content: "Acciones"; }
  
  
}

/* ============================================
   RESET PASSWORD – MODERN DESIGN
   ============================================ */
.rp-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo */
.rp-bg-decoration { position: absolute; inset: 0; overflow: hidden; opacity: .5; pointer-events: none; }

.rp-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    box-shadow: 0 0 80px rgba(56,189,248,.4);
}
.rp-circle-1 { width: 340px; height: 340px; top: -140px; left: -100px; animation: rpFloat1 22s ease-in-out infinite; }
.rp-circle-2 { width: 440px; height: 440px; bottom: -200px; right: -140px; animation: rpFloat2 28s ease-in-out infinite; }
.rp-circle-3 { width: 240px; height: 240px; top: 48%; right: 8%; animation: rpFloat3 18s ease-in-out infinite; }

@keyframes rpFloat1 {
    0%,100% { transform: translate(0,0) scale(1); }
    40%      { transform: translate(45px,-50px) scale(1.1); }
    70%      { transform: translate(20px,-80px) scale(1.05); }
}
@keyframes rpFloat2 {
    0%,100% { transform: translate(0,0) scale(1); }
    35%     { transform: translate(-55px,55px) scale(1.1); }
    70%     { transform: translate(35px,75px) scale(.95); }
}
@keyframes rpFloat3 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-25px,50px) scale(1.15); }
}

/* Card */
.rp-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(14,78,130,.15), 0 4px 20px rgba(0,0,0,.06);
    padding: 44px 40px 36px;
    width: 100%;
    max-width: 440px;
    border: 1px solid rgba(255,255,255,.7);
    animation: rpCardIn .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes rpCardIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.rp-header { text-align: center; margin-bottom: 28px; }
.rp-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #21436e, #0ea5e9);
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(33,67,110,.3);
}
.rp-title    { font-size: 28px; font-weight: 700; color: #1e3a5f; margin: 0 0 8px; }
.rp-subtitle { font-size: 16px; color: #64748b; margin: 0; }

/* Alerta */
.rp-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
}
.rp-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* Campos */
.rp-form-container { margin-top: 65px; }
.rp-field-group    { margin-bottom: 22px; }

.rp-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
}
.rp-label-icon { vertical-align: -2px; margin-right: 5px; }

.rp-field-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 17px;
    color: #1e293b;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.rp-field-input:focus {
    border-color: #21436e;
    box-shadow: 0 0 0 3px rgba(33,67,110,.1);
}

.rp-field-error {
    display: block;
    font-size: 14px;
    color: #ef4444;
    margin-top: 5px;
    padding-left: 4px;
}

/* Fortaleza de contraseña */
.rp-strength-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -10px 0 18px;
}
.rp-strength-bar {
    flex: 1;
    height: 5px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.rp-strength-fill {
    height: 100%;
    border-radius: 99px;
    width: 0;
    transition: width .3s ease, background .3s ease;
}
.rp-strength-label { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Botón submit */
.rp-submit-section { margin-top: 8px; }
.rp-btn-submit {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56,189,248,.3);
    letter-spacing: .5px;
}
.rp-btn-submit:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(56,189,248,.4);
}
.rp-btn-submit:active { transform: scale(.98); box-shadow: 0 2px 10px rgba(56,189,248,.3); }

/* Footer */
.rp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 480px) {
    .rp-card  { padding: 32px 24px 28px; }
    .rp-title { font-size: 22px; }
}


/* ========================================
   ESTILOS PARA CAMPOS DE SOLO LECTURA
   ======================================== */

/* Contenedor de campos de solo lectura */
.form-control-static {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 0;
    min-height: 42px;
    font-size: 15px;
    line-height: 1.5;
    color: #21436E;
    background-color: #f8f9fa;
    border: 2px solid #e3e6ea;
    border-radius: 6px;
    font-family: 'InterSemiBold', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Efecto hover para campos de solo lectura */
.form-control-static:hover {
    background-color: #f1f3f5;
    border-color: #d1d5db;
}

/* Strong dentro de form-control-static */
.form-control-static strong {
    font-weight: 600;
    color: #1e293b;
}

/* Label para campos de solo lectura */
.form-group:has(.form-control-static) label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Icono de "solo lectura" opcional */
.form-group:has(.form-control-static) label::after {
    content: " 🔒";
    font-size: 11px;
    opacity: 0.4;
    margin-left: 4px;
}

/* Espaciado entre form-groups con campos de solo lectura */
.form-group:has(.form-control-static) {
    margin-bottom: 20px;
}

/* Estilo para datos sensibles (número de matrícula, fechas) */
.form-control-static.sensitive-data {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #92400e;
    font-weight: 700;
}

.form-control-static.sensitive-data:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    border-color: #d97706;
}

/* Estilo para campos de estado y validación */
.form-control-static.status-field {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
    color: #1e3a8a;
}

.form-control-static.status-field:hover {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    border-color: #3b82f6;
}

/* Mejora visual del jumbotron que contiene los campos */
.jumbotron .container {
    padding: 25px;
}

.jumbotron h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
    color: #1e293b;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .form-control-static {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .form-group:has(.form-control-static) label::after {
        display: none;
    }
}


