body {
    margin-top: 20px;
    background: #F7f7f7;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.ancho {
    max-width: 900px;
    width: 100%;
    display: block;
    margin: 0 auto;
    /* Centra el contenedor en pantallas grandes */
}

@media (max-width: 900px) {
    .ancho {
        width: 100%;
        /* Permite que el contenedor se ajuste en pantallas pequeñas */
    }
}


.account-block {
    padding: 0;
    /* background-image: url(https://institutocaldas.edu.co/wp-content/uploads/2023/07/img-head-admones.jpg);*/
    background-image: url(../imagenes/img-head-admones.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
    /*background-color: #86847e;*/
    background-blend-mode: screen;
    /*background-position: center bottom 0;*/
    background-position: 60% center;

}

.account-block .overlay {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.863);
}

.account-block .account-testimonial {
    text-align: center;
    color: #fff;
    position: absolute;
    margin: 0 auto;
    padding: 0 1.75rem;
    bottom: 3rem;
    left: 0;
    right: 0;
}

.text-theme {
    color: #ff9900 !important;
}

.btn-theme {
    background-color: #F05F00;
    border-color: #ff6900;
    color: #fff;
}

.btn-theme:hover {
    background-color: #FAB71B;
    border-color: #FAB71B;
    color: #fff;
}

.piedefotos {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    color: #333333;
    border-radius: 8px;
}

.redes-sociales {
    list-style: none;
    /* Elimina los puntos de viñeta */
    padding: 10;
    /* Elimina el relleno predeterminado */
}

.redes-sociales li {
    display: inline-block;
    /* Muestra los elementos li en línea horizontalmente */
    margin-right: 20px;
    /* Ajusta el margen derecho según sea necesario */
}

select {
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.alert-info-datos {
    color: #444;
    background-color: #fcf9cf;
    border-color: #ccc;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: justify;
    float: left;
    width: 90%;
    //*text-align: center; /* Si quieres que el texto esté centrado */
}

.alert-info:hover {
    border-color: #ceab0f;
}

.headerinterno {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background-color: #942990;*/
    padding: 10px;
}

/*.headerinternoIndex {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #942990;
    padding: 10px;
}*/

.header-login a img {
    margin: auto;
    display: block;
}

.headerinterno-logo {
    flex-grow: 1;
    text-align: right;
}

.headerinterno-logo img {
    width: 40%;
}

.headerinterno-logoIndex img {
    width: 130px;
    filter: drop-shadow(2px 2px 2px rgba(50, 2, 50, 60));
    border: 10px solid rgb(8, 8, 8);
}

.headerinterno-item {
    flex-basis: 33%;
}

.headerinterno-item:first-child {
    text-align: left;
}

/*.headerinterno-item:last-child {
    text-align: center;
}*/
.spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

footer {
    position: relative;
    background-color: #ff5a00;
    /* base naranja */
    color: #fff;
    font-size: .79em;
    text-align: center;
    padding: 1.2em .5em;
    overflow: hidden;
}

/* Patrón de formas (círculos tipo el diseño que muestras) */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.12) 18px, transparent 19px),
        radial-gradient(circle at 80px 60px, rgba(255, 255, 255, 0.10) 22px, transparent 23px),
        radial-gradient(circle at 140px 30px, rgba(255, 255, 255, 0.08) 20px, transparent 21px);
    background-size: 160px 80px;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none
}

/* Contenido del footer encima del patrón */
footer .contenido-footer {
    position: relative;
    z-index: 1;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: #ffe0cc;
    /* tono claro institucional */
    text-decoration: underline;
}

footer a:active,
footer a:focus {
    color: #ffffff;
}

.barra-interna {
    background-color: #f2f2f2;
    text-align: right;
    padding: .25em;
    border-radius: .25em;
}

span.icobandera {
    font-size: 2em;
    background-color: orange;
    padding: .25em .5em;
    color: #fff;
    border-radius: 1em 0em 0 1em;
    /* bottom: -0.25em; */
    position: relative;
    z-index: 99;
    float: left;
}

.btn-general {
    background-color: #F05F00;
    padding: .5em 1em;
    color: #fff;
    appearance: none;
    border: #ff6829;
    border-radius: .25em;
    text-decoration: none
}

.btn-general:hover {
    background-color: #FAB71B;
    color: #fff;
    appearance: none;
    border: #FAB71B;
}

.content-btn {
    display: inline-flex;
    margin: 1em;
    gap: 20px;
    /* Ajusta este valor para el espacio entre los botones */
}

.uppercase {
    text-transform: uppercase;
}

.form-spacing {
    display: inline-block;
}

h2.titulo-login {
    position: relative;
    color: #fff !important;
    text-align: center;
    background-color: #ff6900;
    font-weight: normal;
    padding: 0.7em 0;
    margin: 0;
    width: 119%;
    margin-left: -8%;
    overflow: hidden;
    /* importante para las figuras */
    z-index: 1;
}

/* Figuras circulares decorativas (igual estilo del footer) */
h2.titulo-login::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.6;

    background-image:
        radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.15) 18px, transparent 19px),
        radial-gradient(circle at 100px 30px, rgba(255, 255, 255, 0.10) 22px, transparent 23px),
        radial-gradient(circle at 200px 25px, rgba(255, 255, 255, 0.08) 20px, transparent 21px);

    background-size: 240px 80px;
}

/* Para que el texto quede por encima de las figuras */
h2.titulo-login span,
h2.titulo-login {
    position: relative;
    z-index: 2;
}


/*NUEVO ESTILO PARA MENU SERVICIOS EL PORTAL DEL INSTITUTO CALDAS/**/

.portal-title {
    color: #ff6829;
    font-weight: bold;
}

.service-card {
    border: 1px solid #ffd2bf;
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    transition: all .2s ease-in-out;
    background: #fff;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
    border-color: #ff6829;
}

.service-card h3 {
    color: #ff6829;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-card p {
    color: #5f6b7a;
    min-height: 70px;
}

.btn-servicio {
    background: #ff6829;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.btn-servicio:hover {
    background: #e85518;
    color: #fff;
    text-decoration: none;
}

.codigo-estudiante {
    background: #fff4ef;
    border-left: 5px solid #ff6829;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.validacion-box {
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid #ffd2bf;
    border-radius: 18px;
    padding: 35px;
    background: #fff;
}

.titulo-validacion {
    color: #ff6829;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.correo-box {
    background: #fff4ef;
    border-left: 5px solid #ff6829;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn-theme-caldas {
    background: #ff6829;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 600;
}

.btn-theme-caldas:hover {
    background: #e85518;
    color: #fff;
}

.btn-secundario {
    background: #f2f2f2;
    color: #ff6829;
    border: 1px solid #ff6829;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
}

.btn-secundario:hover {
    background: #fff4ef;
    color: #ff6829;
}

.codigo-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 6px;
    font-weight: bold;
}

.contador {
    color: #ff6829;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
}

/* Acceso a la guía de certificados */
.btn-guia-certificados {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    padding: 10px 18px;
    border: 1px solid #ff6829;
    border-radius: 8px;
    background: #fff;
    color: #ff6829;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.btn-guia-certificados:hover {
    background: #fff2eb;
    color: #e65319;
    text-decoration: none;
}

.btn-guia-certificados:focus-visible {
    outline: 3px solid #245ca6;
    outline-offset: 3px;
}

.guia-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    margin-right: 7px;
}