html {
  font-size: 14px;
}

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

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 80px;
    position: relative;
}

header {
    width: 100%;
    background-color: white;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.container-body {
    padding-bottom: 60px;
}

*,
*::before,
*::after {
    box-sizing: content-box;
}

#voucherContent {
    align-items: center;
    display: flex;
    justify-content: center;

}

#actions {
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100vh - 60px);
    width: 232px;
    list-style-type: none;
    background-color: #004d71;
    color: white;
    padding-top: 20px;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 900;
    padding-left: 0;
}

    #actions li {
        padding: 15px 20px 15px 40px;
        cursor: pointer;
        border-bottom: 1px solid #34495e;
        text-align: left;
        font-size: 16px;
    }

        #actions li:hover {
            background-color: #00a98f;
        }

        #actions li:last-child {
            border-bottom: none;
        }

@media (max-width: 768px) {
    .pb-3 {
        padding-bottom: 1rem !important;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #actions {
        position: static;
        width: 60%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding-top: 0;
        box-shadow: none;
        background-color: #004d71;
        z-index: 900;
        border-radius: 10px;
        margin-top: 14px;
        align-items: stretch;
    }

        #actions li {
            flex: 1;
            border-right: 1px solid #00314d;
        }

            #actions li:last-child {
                border-right: none;
            }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 69, 67, 0.8); /* Fondo oscuro semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté sobre todos los demás elementos */
    color: white;
}

    .overlay.hidden {
        display: none;
    }

.hidden {
    display: none;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: draw .3s ease-in-out .8s forwards;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.background {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 3px solid #004d71;
    animation: fillbg .9s ease-in-out forwards;
}

.checkmark.draw:after {
    content: "";
    position: absolute;
    width: 28px;
    height: 51px;
    border-bottom: 8px solid #00a98f;
    border-right: 8px solid #00a98f;
    transform: rotate(40deg);
    left: 26px;
    top: 8px;
}

@keyframes draw {
    0% {
        stroke-dasharray: 0 100;
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dasharray: 100 100;
        stroke-dashoffset: -100;
    }
}

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

    50% {
        transform: scale(1.1);
    }

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

@keyframes fillbg {
    50% {
        background: #4bb71b;
    }
}

.navbar-nav.flex-grow-1 li>a:hover {
    border-top: 3px solid #004D70;
    color: #004D70 !important;
    font-weight: 600;
}

.ady-navbar-brand__logo-datafast {
    width: 13rem;
}

.xmark-circle {
    position: relative;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: block;
    background: #ff0000;
    box-shadow: inset 0px 0px 0px #ff0000;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.xmark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    display: block;
    stroke-width: 5;
    stroke: #ffffff;
    stroke-linecap: round;
    animation: draw-x .3s ease-in-out .8s forwards;
}

    .xmark::before, .xmark::after {
        content: '';
        position: absolute;
        width: 48px;
        height: 5px;
        background: #ffffff;
        top: 50%;
        left: 0;
    }

    .xmark::before {
        transform: rotate(45deg);
    }

    .xmark::after {
        transform: rotate(-45deg);
    }

@keyframes draw-x {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 0;
        opacity: 1;
    }

    100% {
        width: 48px;
    }
}

#detalleMensaje {
    margin-left: 5px;
    display: flex;
    flex-direction: column;
}