@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf");
}

body {
    font-family: 'Montserrat';
    color: black;
    background-color: #E6E6E6;

}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    background-color: #f2f2f2;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.modal-header h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    flex-grow: 1;
    padding: 0;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-footer {
    background-color: #f2f2f2;
    padding: 10px 20px;
    text-align: center;
    border-top: 1px solid #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Línea decorativa */
hr {
    border: none;
    height: 1px;
    background: #BE9961;
    margin: 1.5rem 0;
    opacity: 0.6;
}

.container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

.logo-top img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.Left .logo img {
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
}

.logo-foot img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.form-footer {
    text-align: right;
    font-size: small;
}

.Footer {
    margin-top: 20px;
}

.TxtFooter {
    text-align: center;
    display: block;
    margin: 2% 2% 2% 2%;
    font-weight: bold;
    font-size: 95%;
    letter-spacing: 1px;
}

.texto2 p {
    margin-top: 5rem;
}

.Left {
    background-color: #602132;
    color: white;
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 0 5rem 5rem 0;
}

.Right {
    background-image: url('../../../IMG/LOGIN/FONDO.svg');
    background-size: cover;
    background-position: center;
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
}

form {
    width: 100%;
    max-width: 480px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.form-header{
  text-align: center;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 20px;
  justify-content: center;
  align-items: center;
  grid-template-areas:
    "conv anex dir"
    "resrow resrow resrow";
}

.nav-conv { grid-area: conv; }
.nav-anex { grid-area: anex; }
.nav-dir  { grid-area: dir;  }

/* El contenedor de BOTONES DE RESULTADOS */
.rc-bottom-actions{
  grid-area: resrow;
  justify-self: center;
  width: 100%;
}

/* Mobile: 1 columna */
@media (max-width: 768px){
  .form-header{
    grid-template-columns: 1fr;
    grid-template-areas:
      "conv"
      "anex"
      "dir"
      "resrow";
  }

  .nav-item{
    justify-self: center;
  }

  .rc-bottom-actions{
    width: 100%;
    justify-self: center;
  }
}

.espacioDivs {
    flex-grow: 0 !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus,
.datatable-input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #AE3F50;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #a04c596c;
    font-family: 'Montserrat';
}

label {
    display: block;
    margin-top: 3rem;
    font-weight: 600;
    font-size: larger;
}

input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    border: 1px solid #797979;
    border-radius: 4px;
    font-family: 'Montserrat';
    font-size: medium;

}

button {
    width: 100%;
    padding: 0.6rem;
    background-color: #691b32;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #501425;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .Left,
    .Right {
        width: 100%;
        height: auto;
        /* altura flexible para móvil */
        border-radius: 0;
    }

    .Left {
        border-radius: 0 0 1.5rem 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Reducir espacio entre imágenes */
    .logo-top img,
    .Left .logo img {
        margin-bottom: 0.5rem;
    }

    .texto2 p {
        margin-top: 0.5rem;
    }
}

/* ALEXA */
@media screen and (max-width: 576px) {
    .ImgHidalgoSEP {
        width: 100%;
    }

    .ImgPrograma {
        width: 100%;
    }

    label {
        margin-top: 1rem;
        font-size: 20%;
    }

    .Footer {
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

.ImgHidalgoSEP {
    width: 60%;
}

.ImgPrograma {
    width: 100%;
}

.ImgSOSEC {
    width: 30%;
}






/*form acceso*/
.formacceso {
    background-color: #fff;
    padding: 20px;
    border-radius: 3%;
}

/*Efecto burbujas*/
.fondorojo {
    margin: 0px;
    background-position: center;
    background-color: #691b32;
}

.fondoimg1 {
    margin: 0px;
    background-position: center;
    background-color: #691b32;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/*burbujas*/
.burbuja {
    background-image: url(../IMG/Estrella_Blanca.png);
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    position: absolute;
    opacity: .3;
    top: -10%;
    animation: burbujas 3s linear infinite;
}

.burbuja:nth-child(1) {
    left: 0%;
    animation-duration: 3s;
    animation-delay: 0s;
}

.burbuja:nth-child(2) {
    left: 5%;
    animation-duration: 4.3s;
    animation-delay: 0s;
}

.burbuja:nth-child(3) {
    left: 10%;
    animation-duration: 6.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(4) {
    left: 15%;
    animation-duration: 4.2s;
    animation-delay: 0s;
}

.burbuja:nth-child(5) {
    left: 20%;
    animation-duration: 3.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(6) {
    left: 25%;
    animation-duration: 7.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(7) {
    left: 30%;
    animation-duration: 5.6s;
    animation-delay: 0s;
}

.burbuja:nth-child(8) {
    left: 35%;
    animation-duration: 4.3s;
    animation-delay: 0s;
}

.burbuja:nth-child(9) {
    left: 40%;
    animation-duration: 2.7s;
    animation-delay: 0s;
}

.burbuja:nth-child(10) {
    left: 45%;
    animation-duration: 7.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(11) {
    left: 50%;
    animation-duration: 5.9s;
    animation-delay: 0s;
}

.burbuja:nth-child(12) {
    left: 55%;
    animation-duration: 4.5s;
    animation-delay: 0s;
}

.burbuja:nth-child(13) {
    left: 60%;
    animation-duration: 6.6s;
    animation-delay: 0s;
}

.burbuja:nth-child(14) {
    left: 65%;
    animation-duration: 3.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(15) {
    left: 70%;
    animation-duration: 5.7s;
    animation-delay: 0s;
}

.burbuja:nth-child(16) {
    left: 75%;
    animation-duration: 4.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(17) {
    left: 80%;
    animation-duration: 6.8s;
    animation-delay: 0s;
}

.burbuja:nth-child(18) {
    left: 85%;
    animation-duration: 3.4s;
    animation-delay: 0s;
}

.burbuja:nth-child(19) {
    left: 90%;
    animation-duration: 5.1s;
    animation-delay: 0s;
}

.burbuja:nth-child(20) {
    left: 95%;
    animation-duration: 6s;
    animation-delay: 0s;
}

@keyframes burbujas {
    0% {
        top: 0;
        opacity: -0.9;
    }

    30% {
        transform: translateX(30px);
    }

    50% {
        opacity: .5;
    }

    100% {
        top: 60vh;
        opacity: 0;
    }
}

.titulodesign {
    font-weight: bold;
    font-size: 60px;
}

.primary-red-text {
    color: #691B31;
}

.DGTI-design {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 3px;
}

.PR-design {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.titulo-bg {
    background-color: #dec9a3;
}

.formulariologin {
    padding: 50px;
}

.espaciobtn {
    margin-right: 16px;
}

@media screen and (min-width: 1490px) {
    .formulariologin {
        padding: 100px;
    }

    .formacceso {
        background-color: #fff;
        padding: 20px;
        border-radius: 6%;
    }
}

@media screen and (min-width: 1920px) {
    .formulariologin {
        padding: 150px;
    }

    .formacceso {
        background-color: #fff;
        padding: 20px;
        border-radius: 6%;
    }
}

.bold {
    font-weight: bold;
}

.errorlogin {
    color: #ff0000;
    font-style: italic;
}

.btn-ver {
    color: #fff !important;
    background-color: #691b32;
    border-color: #691b32;
}

.btn-principales {
    color: #ffffff;
    background-color: #602132;
    border-color: #602132;
    width: 200px;
    font-family: "Montserrat";
    font-size: 110%;
}

.btn-acceder {
    color: #ffffff !important;
    background-color: #602132 !important;
    border-color: #602132 !important;
    width: 100px !important;
    font-family: "Montserrat" !important;
    font-size: 100% !important;
}

.padding-images {
    padding: 1rem;
}

.card {
    border-radius: 5% !important;
}

.AP {
    font-weight: bold;
    font-weight: 600;
    font-size: 15px;
    text-align: right;
    color: #92918c;
}

.link-nnot {
    text-decoration: none;
}

.link-not {
    text-decoration: none;
    text-align: center;
    color: #AE3F50;
    font-size: 125%;
    margin-bottom: 10%;
}

.link-not:hover {
    cursor: pointer;
    text-decoration: none;
    color: #602132;
}

.link-not:focus {
    text-decoration: none;
    color: #AE3F50;
}

.link-not2 {
    margin-top: 2%;
    text-decoration: none;
    text-align: center;
    color: #706a6a;
    font-size: 125%;
}

.link-not2:hover {
    cursor: pointer;
    text-decoration: none;
    color: #2c2a2a;
}

.link-not2:focus {
    text-decoration: none;
    color: #706a6a;
}

.link-not3 {
    margin-top: 2%;
    text-decoration: none;
    text-align: center;
    color: #602132;
    font-size: 125%;
}

.link-not3:hover {
    cursor: pointer;
    text-decoration: none;
    color: #602132c9;
}

.link-not3:focus {
    text-decoration: none;
    color: #602132;
}

/** Modal Informativo  */
.info-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.info-modal.is-open{ display:block; }

.info-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.info-modal__dialog{
  position: relative;
  width: min(520px, 92vw);
  margin: 26vh auto 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.info-modal__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
  color: #8a8a8a;
}

.info-modal__close:hover{ color:#4a4a4a; }

.info-modal__header{
  padding: 18px 22px 8px 22px;
}

.info-modal__title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #621132;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-modal__icon{
  font-size: 16px;
}

.info-modal__body{
  padding: 0px 22px 10px;
  font-size: 15px;
  line-height: 1.45;
  color: #000000;
  align-items: center;
  text-align: center;
}

.info-modal__body p{
  margin: 10px 0;
}

.modal-icon-aviso{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--seph-rosa);
	border-radius: 6px;
	padding: 6px 12px;
	font-weight: 700;
	letter-spacing: .5px;
	font-size: 14px;
	margin: 14px;
}
.modal-icon-aviso img{
	width: 25px;
	height: 25px;
}
.modal-negritas-red {
    color: #AE3F50;
    font-weight: 800;
    font-size: 15px;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.Outline {
    border: 2px solid;
    border-radius: 10px;
    border-color: #AE3F50;
    margin-top: 20px;
}

.TxtFooter {
    text-align: center;
    color: #000000;
    display: block;
    margin: 2% 2% 2% 2%;
    font-weight: bold;
    font-size: 95%;
    letter-spacing: 1px;
}

/* Botones inferiores */
.rc-bottom-actions{
	display:flex;
	justify-content:center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 10px;
	align-items: stretch;
}
.rc-bottom-btn{
	background: #AE3F50;
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 10px 16px;
	font-weight: 800;
	letter-spacing: .2px;
	display:inline-flex;
	align-items:center;
	gap: 10px;
	box-shadow: 0 6px 14px rgba(0,0,0,.12);
	text-align: left;
    width: 200px;
    font-size: 110%;
}

.rc-bottom-btn:hover{
	filter: brightness(.98);
    background-color: #c55c6c;
}
.rc-bottom-btn img{
	width: 28px;
	height: 28px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.rc-bottom-btn-text{
	display: inline-block;
	line-height: 1.05;
	white-space: normal;
    font-family: 'Montserrat';
}

.rc-bottom-btn--centerText{
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 12px;
}
.rc-bottom-btn--centerText .rc-bottom-btn-text{
	width: 100%;
	text-align: center;
}

/* RESPONSIVE Registro Completo */
@media (max-width: 520px){
	.rc-bottom-actions{
		width: 100%;
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
	.rc-bottom-actions > a{
		display: inline-block;
		width: auto;
		text-decoration: none;
	}
	.rc-bottom-actions > a > button{
		width: auto;
	}
	.rc-bottom-actions > button{
		width: auto;
	}

	.rc-bottom-btn,
	.rc-bottom-btn--centerText{
		width: auto;
		padding: 10px 14px;
		display: grid;
		grid-template-columns: 32px auto;
		align-items: center;
		column-gap: 12px;
		justify-items: center;
		text-align: center;
	}
	.rc-bottom-btn-text{
		width: auto;
		text-align: center;
	}
}