﻿

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */

.btn-success {
    border-radius: 999em !important;
    padding: 0.5rem 1.5rem !important;
    background: linear-gradient(29deg, #9ff669 0%, #009b31 100%) !important;
}

btn-info, btn-primary {
    border-radius: 999em !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.btn-grad {
    background-image: linear-gradient(to right, #029c32 0%, #9ef568 51%, #029c32 100%);
    margin-bottom: 10px;
    padding: 10px 20px;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 0 20px #eee;
    border-radius: 999rem;
    display: block;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-pago {
    min-width: 10rem;
    font-weight: bold;
}
         

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    /*margin-top: 60px;*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

@font-face {
    font-family: 'OCR-b';
    src: url('../fonts/ocr-b___.ttf') format('truetype');
}

.seleccionFecha {
    /*width: 35%;
    margin-top: 10px;
    width:15%;*/
    float: left;
}

.botonFiltro {
    margin-bottom: 10px;
}

.h4Title {
    background-color: gray;
    padding: 5px;
    border-radius: 5px;
    text-align: left;
    color: white;     
}

.botonSi {
    margin-right: 30%;
    width: 10%;
    min-width: 50px;
}

.botonNo {
    width: 10%;
    min-width: 50px;
}

/*.contenedorInicioSesion {
    max-width: 600px;
    margin:auto;
}*/

/*.nav-item:hover {
    color:forestgreen;
}*/


/*table {
    /*display: inline-block;
    /*max-width:100%;
    overflow-x: auto;
    white-space: nowrap;


    overflow: auto;
    max-width:100%;
    /*display: block;
}*/

#credencial {
    background-image: url('../images/Credencial4.png');
    background-repeat: no-repeat;
    background-size: 100%;
    /*box-shadow: rgba(50, 50, 50, 0.75) 7px 7px 5px;*/
    box-shadow: none;
    border-color: rgba(50, 50, 50, 0);
    background-color: rgba(50, 50, 50, 0);
    /*border: none;
    background-color: transparent;*/
    border-radius: 25px 25px 25px 25px;
    height: auto;
    /*min-height: 500px;*/
    width: auto;
    /*overflow-y:visible;
    border: 1px solid red;*/
}

#fotoCred {
    visibility: hidden;
}

.txt-cred {
    /*position: absolute;*/
    color: darkgray;
    font-weight: bold;
    font-family: OCR-b;
    margin:0;
}

.txt-cred-grande {
    font-size: 4vw;
}

.txt-cred-normal {
    font-size: 2.65vw;
}

#PopUp {
    /*width:80%;
    margin:auto;*/
}

.imagenClara {
    border: 1px solid cadetblue;
    border-radius: 5px 6px;
    padding: 5px;
}

.escondido {
    display: none !important;
}

table.dataTable.no-footer {
    border-bottom: none;
}

table#tabla {
    border-spacing: 0;
    border-collapse: inherit;
}

#tabla th:first-of-type {
    border-radius: 0.5em 0 0 0;
}
#tabla th:last-of-type {
    border-radius:  0 0.5em 0 0;
}

#tabla tr:last-of-type td:first-of-type {
    border-radius: 0 0 0 0.5rem;
}
#tabla tr:last-of-type td:last-of-type {
    border-radius: 0 0 0.5em 0;
}

#tabla tr:last-of-type td:only-of-type {
    border-radius: 0 0 0.5em 0.5rem;
}

.plan-gradient-animated {
    background: linear-gradient(270deg, #9ff669, #02ba3c, #9ff669);
    background-size: 600% 600%;
    max-width: 1280px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    -webkit-animation: anim 20s ease infinite;
    -moz-animation: anim 20s ease infinite;
    -o-animation: anim 20s ease infinite;
    animation: anim 20s ease infinite;
}

.grid-wrapper {
    margin: 0 auto;
    display: grid;
    align-items: center;
    gap: 5px;
    background-color: #f3f8ff;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 1280px;
}

.grid-card {
    color: black;
    padding: 1rem;
    width: auto;
    height: auto;
    text-wrap: none;
}

.acciones {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.no-importante {
    color: rgba(0,0,0,0.45);
}

span.no-importante {
    color: rgba(0,0,0,0.60);
}

span.big-text-plan {
    font-size: 1.2rem;
}

.botones-index {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.detalle-pre-pago {
    max-width: 930px;
    width: 100%;
}

.center-content-inside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*   ANIMACIóN DE REGISTRO DE PAGO   */

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.centered-spinner {
    width: 64px;
    height: 64px;
    position: relative;
}

.spinner-track {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    box-sizing: border-box;
}

.spinner-arc-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 1.8s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.spinner-arc {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
    box-sizing: border-box;
    border-top: 4px solid #4285f4;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.spinner-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #4285f4;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: dot-pulse 0.9s ease-in-out infinite alternate;
    box-shadow: 0 2px 4px rgba(66, 133, 244, 0.3);
    z-index: 2;
}




@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes dot-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.loading-text {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    position: relative;
}

    .loading-text::after {
        content: '...';
        position: absolute;
        animation: dots 1.8s steps(4, end) infinite;
    }

@keyframes dots {
    0%, 20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%, 100% {
        content: '...';
    }
}




.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 400px;
    padding: 40px;
    background: white;
    animation: fadeIn 0.6s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4CAF50;
    border-radius: 50%;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.success-icon::after {
    content: "";
    display: block;
    width: 30px;
    height: 16px;
    border: solid white;
    border-width: 0 0 4px 4px;
    transform: rotate(-45deg);
    margin-top: -4px;
}

.success-title {
    color: #4CAF50;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.success-message {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.continue-button {
    margin-top: 16px;
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.continue-button:hover {
    background: #43A047;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}



/*   MEDIA QUERIES PARA DISPOSITIVOS MOBILES   */


@media (min-width: 300px) {
    .grid-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .grid-card:last-child {
        grid-column: span 2;
    }
    .acciones {
        justify-content: space-around;
    }
}

@media (min-width: 600px) {
    .grid-wrapper {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .grid-card:last-child {
        grid-column: span 1;
    }
}

@media (min-width: 800px) {
    .grid-wrapper {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    .grid-card:last-child {
        grid-column: span 2;
    }
}

@media (min-width: 1200px) {
    .grid-wrapper {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .grid-card:last-child {
        grid-column: span 1;
    }
}

@-webkit-keyframes anim {
    0% {
        background-position: 0% 51%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 51%
    }
}

@-moz-keyframes anim {
    0% {
        background-position: 0% 51%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 51%
    }
}

@-o-keyframes anim {
    0% {
        background-position: 0% 51%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 51%
    }
}

@keyframes anim {
    0% {
        background-position: 0% 51%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 51%
    }
}




@media (max-width: 768px) and (orientation: portrait) {
    #PopUp {
        width: 100%;
        margin-top: 30%;
    }
    .txt-cred-grande {
        font-size: 6vw;
    }
    .txt-cred-normal {
        font-size: 3.975vw;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    #PopUp {
        width: 100%;
        /*margin-top:5%;*/
    }
    .txt-cred-grande {
        font-size: 6vw;
    }

    .txt-cred-normal {
        font-size: 3.975vw;
    }
}

@media (min-width: 768px) {
    .contenedorInicioSesion {
        width: 40%;
        margin: auto;
    }

    #PopUp {
        width: 65%;
        margin-left: 17.5%;
    }
}