*{
    font-family: "Roboto", sans-serif;
}
a{
    text-decoration: none;
    color:#000;
}
a:hover{
    text-decoration: underline;
}
main.container-fluid {
    margin: 100px 0 0 0;
    padding: 0;
}
.logincss{
    text-align: center;
}

/* .logincss input[type="text"], .logincss input[type="password"]{
    display: block;
    width: 100%;
    border-radius: 25px;
} */
.loginCssCard{
    /* width: 75%; */
    /* min-height: 300px;
    margin: 30px auto 0;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(2, 75, 142, 0.15); */
}
.loginCssCardDetails{
    /* min-height: 300px;
    margin: 30px auto 0;
    background: #fff;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(2, 75, 142, 0.15); */
}

.registerCssDetails{   
    min-height: 300px;
    margin: 30px auto 0;
}
.circle-gray {
    border-radius: 50%;
    display: block;
    margin: auto auto 10px;
    border: solid 4px #eee;
    transition: all 0.5s ease 0s;
    overflow: hidden;
}
.circle-white {
    border-radius: 50%;
    display: block;
    margin: auto auto 10px;
    border: solid 4px #fff;
    transition: all 0.5s ease 0s;
    overflow: hidden;
}
.circle-black {
    border-radius: 50%;
    display: block;
    margin: auto auto 10px;
    border: solid 4px #222;
    transition: all 0.5s ease 0s;
    overflow: hidden;
}
.filter-0{
    filter: brightness(0.9);
}

input[type="text"], select,input[type="email"], input[type="password"], input[type="number"], input[type="date"] {
    border: 1px solid #aaa;
    border-radius: 8px;
    padding: 4px 10px 4px;
    display: block;
    /* min-width: 300px; */
    width: 100%;
}

.text-13 {
    font-size: 13px;
}

hr {
    border: 3px solid;
    margin: 40px 0;
}

.validateX {
    display: flex;
    position: relative;
    justify-content: center;
    font-size: 25px;
    font-weight: 500;
}

.validateX div{
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
    padding: 0 10px;
}
.contentAlert {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: scroll;
}
.contentAlert ul {
    width: 90%;
}
.contentAlert ul li{
    list-style: none;
    border-bottom: 1px solid #0002;
    padding: 0 0 8px 0;
}
.contentAlert ul button{
    border-radius: 50px;
    padding: 5px 8px;
}
.contentAlert ul button:hover{
    opacity:.5;
}
.contentAlert ul button i{
    color:#fff;
}
.registerCssDetails.dashboard{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
}
.circleContentA{
    text-decoration: none;
}
.circleContentA:hover{
    text-decoration: none;
}
.circleContent {
    display: flex;
    position: relative;
    padding: 30px;
    border-radius: 100px;
    border: 2px solid #0003;
    width: 200px;
    height: 200px;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.1);
    /*background-image: url('https://images.unsplash.com/photo-1564331453476-6241ebf17480?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');*/
    background-position: center center;
    background-size: cover;
    
}
/* .circleContent:hover {
    background: rgba(0,0,0,0.5);
} */
a.navbar-brand img {
    width: 145px;
    height: auto;
    filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(293deg) brightness(105%) contrast(101%);
    margin: 0 21px;
}

button.navbar-toggler, button.navbar-toggler:active, button.navbar-toggler:focus, button.navbar-toggler:hover{
    border: none;
    box-shadow:none;
}
.bg-primary-1{
    background-color: #242B57;
}
.bg-primary-2{
    background-color: #0d3760;
}


.btn-primary-1 {
    --bs-btn-color: #fff;
    --bs-btn-bg: #242B57;
    --bs-btn-border-color: #242B57;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #242B57;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #242B57;
    --bs-btn-active-border-color: #242B57;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #242B57;
    --bs-btn-disabled-border-color: #242B57;
}
.btn-primary-2 {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0d3760;
    --bs-btn-border-color: #0d3760;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d3760;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d3760;
    --bs-btn-active-border-color: #0d3760;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d3760;
    --bs-btn-disabled-border-color: #0d3760;
}
.text-bg-dark {
    color: #fff !important;
    background-color: #242B57 !important;
}
/* #0d3760

#242B57
#025797
#ECF1F5
#EEEEEE */

form {
    display: flex;
    position: relative;
    flex-flow: wrap;
}

form label {
    width: 100%;
    display: inline-block;
    padding: 10px;
}

form input.btn.btn-primary-1.mt-3 {
    width: 100%;
}
/* form2 */
form#regForm2 {
    flex-direction: column;
}

/* Button */


.btn-grad {background-image: linear-gradient(to right, #242B57 0%, #0d3760  21%, #242B57  100%)}
.btn-grad {
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    /* display: block; */
}

.btn-grad:hover {
   background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}



#site-footer {
    margin: 50px 0 0 0;
    padding: 0;
    background-position: center bottom;
    min-height: 200px;
    background-size: cover;
}

#site-footer .subfooterX .logoFooterqro img {
    filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(293deg) brightness(105%) contrast(101%);
    width: 240px;
    height: auto;
    padding: 20px;
    box-sizing: border-box
}

#site-footer .subfooterX .row.top-bg-footer {
    background-image: url(https://riesgossanitariosqro.gob.mx/wp-content/uploads/2024/07/bg-footer.png);
    background-size: cover;
    background-position: center top
}

#site-footer .subfooterX .logoFooterqro {
    text-align: center;
    padding: 50px 0 0 0;
}

#site-footer .subfooterOne {
    background-color: #266FB6;
    font-size: 14px;
    text-align: center;
    color: #fff;
    padding: 0;
}

#site-footer .subfooterOne a {
    color: #fff;
    text-decoration: none
}

#site-footer .subfooterOne a:hover {
    color: #afafaf;
    text-decoration: underline
}

#site-footer .subfooterOne h3 {
    color: #fff;
    font-size: 21px;
}

#site-footer .subfooterOne ul li {
    display: inline-block
}

#site-footer .subfooterOne ul li a {
    color: #fff;
    text-decoration: none
}

#site-footer .subfooterOne ul li a:hover {
    color: #afafaf;
    text-decoration: underline
}

#site-footer .footer-inner.elementor-container {
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center
}

#site-footer .subfooterTwo {
    background-color: #242B57;
    color: #fff;
    padding: 45px 0
}

#site-footer .footericonx {
    font-size: 60px;
    padding: 20px 0
}

.csRRSS {
    padding: 30px 0;
    text-align: center
}

.csRRSS h3 {
    color: #FFF;
 
}

.csRRSS ul li {
    display: inline-block
}

.csRRSS ul li a {
    color: #dbdbdb;
    text-decoration: none
}

.csRRSS a {
    background: #b5b5b5;
    color: #eee !important;
    line-height: 1;
    margin-right: 4px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: 0.3s;
    display: inline-flex !important;
    align-items: center;
    justify-content: center
}

.csRRSS a:hover {
    background: #4598c9;
    color: #fff
}
.bg-firstmodify {
    background-color: #fff7dc !important;
}






.registerCssDetails, .loginCssCard  {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(2, 75, 142, 0.15);
}
#profileForm h1, .loginCssCard h1 {
  font-family: 'Novecento Wide Semibold', sans-serif;
  color: #024b8e;
  text-align: center;
}
#profileForm label, .loginCssCard label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}
#profileForm input, #profileForm select, .loginCssCard input, .loginCssCard select {
  width: 100%;
  padding: 0.7em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#profileForm input:required:invalid, .loginCssCard input:required:invalid {
  border-color: red;
}
#profileForm input[type="file"], .loginCssCard input[type="file"] {
  border: none;
}
#profileForm button, .loginCssCard button {
  margin-top: 2em;
  padding: 1em;
  background-color: #024b8e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}
#profileForm button:hover, .loginCssCard button:hover {
  background-color: #227daa;
}
#profileForm .hidden {
  display: none;
}





#rhadmin h1 {
  font-family: 'Novecento Wide Semibold', sans-serif;
  color: #024b8e;
  text-align: center;
}
#rhadmin .acciones-superior {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}
#rhadmin input[type="text"] {
  flex: 1;
  padding: 0.7em;
  border: 1px solid #ccc;
  border-radius: 5px;
}
#rhadmin button, #rhadmin a{
  padding: 0.7em 1em;
  background-color: #024b8e;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#rhadmin button:hover, #rhadmin a:hover {
  background-color: #227daa;
}
#rhadmin table {
  width: 100%;
  border-collapse: collapse;
}
#rhadmin th, #rhadmin td {
  border: 1px solid #ddd;
  padding: 0.8em;
  text-align: left;
}
#rhadmin th {
  background-color: #0d3760;
  color: white;
}
#rhadmin td button {
  margin-right: 5px;
}




h1, h2 {
  font-family: 'Novecento Wide Semibold', sans-serif;
  color: #024b8e;
  margin-bottom: 0.5em;
  text-align: center;
}

.panel-registro {
  background-color: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(2, 75, 142, 0.15);
  margin-top: 2em;
}

.panel-registro h3 {
  font-size: 1.1em;
  margin-top: 2em;
  color: #0d3760;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.4em;
}

.panel-registro p {
  margin: 0.5em 0;
  font-size: 1em;
}

.panel-registro ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1em;
}

.panel-registro li {
  margin-bottom: 0.8em;
  font-size: 0.95em;
}

.panel-registro a {
  color: #227daa;
  text-decoration: none;
}

.panel-registro a:hover {
  text-decoration: underline;
}

.panel-registro label {
  display: block;
  margin-top: 1.2em;
  font-weight: bold;
}

.panel-registro select,
.panel-registro textarea {
  width: 100%;
  padding: 0.7em;
  margin-top: 0.4em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.panel-registro textarea {
  resize: vertical;
}

.panel-registro .botones-aprobacion {
  margin-top: 2em;
  display: flex;
  gap: 1em;
}

.botones-aprobacion button {
  flex: 1;
  padding: 0.9em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-verde {
  background-color: #02840a;
  color: white;
}

.btn-verde:hover {
  background-color: #026c09;
}

.btn-rojo {
  background-color: #d9534f;
  color: white;
}

.btn-rojo:hover {
  background-color: #c9302c;
}

.notification-item {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding-left: 15px;
}

.notification-item.read {
    opacity: 0.8;
}

.notification-item.legacy {
    border-left: 4px solid #ffc107;
    padding-left: 15px;
    background-color: #fff9e6;
}

.notification-content h6 {
    color: #333;
    font-weight: 600;
}

.mark-read-btn {
    font-size: 12px;
    padding: 4px 8px;
}

.mark-read-btn:hover {
    transform: scale(1.1);
}

#unread-badge {
    font-size: 11px;
    padding: 2px 6px;
}


.flip-card {
    background-color: transparent;
    width: 180px;
    height: 180px;
    perspective: 1000px;
    margin: auto;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(.4,2,.3,1);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
}
.flip-card-front {
    background-color: #fff;
}
.flip-card-back {
    background: linear-gradient(135deg, #007bff 60%, #00c6ff 100%);
    color: white;
    transform: rotateY(180deg);
}
.circleContent {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.user-item {
    transition: opacity 0.3s ease;
}

.user-item.hidden {
    display: none;
}

.form-check-label {
    width: 100%;
    cursor: pointer;
}

.form-check-label:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 4px;
}









:root {
  --color-primario: #16355f;
  --color-azulclaro: #242b57;
  --color-azulsuave: #227DAA;
  --color-hover: #4e6e93;
  --altura-pintado: 200px;
}

/* Card principal más grande */
.card-modulo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    border-radius: 24px;
    background-color: #f5f7fa;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    /* Agregamos una transición para la elevación */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    /* max-width: 400px; */
    /* margin: 80px auto; */
    min-height: 560px;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

/* Sombra y elevación al pasar el cursor o enfocar */
.card-modulo:hover,
.card-modulo:focus-visible {
  /* Elevación de 5px */
  transform: translateY(-5px);
  /* Sombra más grande y visible */
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* Fondo animado con degradado azul */
.fondo-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, var(--color-hover), transparent);
  z-index: 0;
  transition: height 0.6s ease;
}

.card-modulo:hover .fondo-hover,
.card-modulo:focus-visible .fondo-hover {
  height: var(--altura-pintado);
}

/* Logo institucional */
.logo-institucional {
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  z-index: 2;
}

/* Título */
.titulo-modulo {
  font-size: 40px;
  font-weight: bolder;
  color: var(--color-primario);
  position: relative;
  margin: 0;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Línea decorativa que aparece en hover */
.linea-hover {
  width: 200px;
  height: 2px;
  background-color: var(--color-azulclaro);
  border-radius: 2px;
  margin: 14px 0;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}

.card-modulo:hover .linea-hover,
.card-modulo:focus-visible .linea-hover {
  opacity: 1;
  transform: scaleX(1);
}

/* Ícono en cuadro azul */
.cuadro-icono {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background-color: var(--color-azulsuave);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  margin-top: 16px;
  z-index: 2;
}

.cuadro-icono img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Nombre completo con efecto hover */
.nombre-completo {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  color: #243246;
  padding: 12px 16px;
  margin-top: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity .55s ease, transform .45s ease;
  z-index: 2;
}

.card-modulo:hover .nombre-completo,
.card-modulo:focus-visible .nombre-completo,
.card-modulo.activo .nombre-completo {
  opacity: 1;
  transform: translateY(0);
}
