        /* Make the form container centered vertically and horizontally */
        html,
        body {
            height: 100%;
            margin: 0;
            background: #f8f9fa;
            background-image: url("http://campeche.inea.gob.mx/encuesta-rezago/img/iconalfa50px.png");
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            box-sizing: border-box;
            margin: 0;
            /* reset margin since wrapper has margin */
            padding: 0;
        }

        .body-wrapper {
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            max-width: 1800px;
            width: 100%;
            padding: 0% 5% 2% 5%;
            margin: 2% 10%;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
            box-sizing: border-box;
            background-color: #fff;
        }

        .page-wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 1500px;
            background: #e3e6e9;
            border-radius: 0.5rem;
            box-shadow: 0 0.15rem 1.75rem rgba(58, 59, 69, .15);
            overflow: hidden;
            min-height: 600px;
            box-sizing: border-box;
        }

        header {
            padding: 0.5rem 2rem;
            /* background-color: #343a40;*/
            color: black;
            text-align: center;
            /* margin-top: 20px; /* Agregar margen superior */
        }

        header p {
            padding: 0.5rem;
            min-height: 20px;
            height: auto;
        }

        header h1 {
            margin: 0;
            font-weight: 700;
            font-size: 1.8rem;
        }

        .content-wrapper {
            display: flex;
            align-items: stretch;
            flex-grow: 1;
            padding: 1rem 0;
        }

        .banner {
            flex: 1 1 20%;
            background-position: center;
            background-size: contain;
            /*background-size: 220px 500px;*/
            background-repeat: no-repeat;
            display: block;
        }

        .banner.left {
            background-image: url('http://campeche.inea.gob.mx/encuesta-rezago/img/BANNER-IZQUIERDA.jpg');
            border-radius: 0.5rem;
        }

        .banner.right {
            background-image: url('http://campeche.inea.gob.mx/encuesta-rezago/img/BANNER-DERECHA.JPG');
            border-radius: 0.5rem;
        }

        .logo-img {
            height: 150px;
            object-fit: contain;
        }

        .form-container {
            flex: 0 0 60%;
            padding: 1rem 2rem;
            overflow-y: auto;
            border-radius: 0.5rem;
            background: #BCA986;
            max-height: 500px;
            box-shadow: 0 0.15rem 1.75rem rgba(58, 59, 69, .15);
        }

        footer {
            padding: 1rem 2rem;
            background-color: #343a40;
            color: white;
            text-align: center;
        }

        footer small {
            font-weight: 300;
            font-size: 0.9rem;
        }

        .form-switch .form-check-input {
            height: 25px;
            width: 45px;
        }

        .form-switch .form-check-input:focus {
            border-color: rgba(0, 0, 0, 0.25);
            outline: 0;
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        }

        .form-switch .form-check-input:checked {
            background-color: #30D158;
            border-color: #30D158;
            border: none;
        }

        .alert {
            position: relative;
            margin-bottom: 20px;
            /* Espacio inferior para separar el mensaje del resto */
            font-size: 1.8rem;
            /* Tamaño de fuente más grande para el mensaje */
            text-align: center;
            /* Centrar el texto del mensaje */
            padding: 2rem 4rem 2rem 8rem;
            border-radius: 14px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        /* efecto para el check de para la alert*/

        .alert .checkmark {
            position: absolute;
            top: 50%;
            left: 1.5rem;
            width: 80px;
            height: 80px;
            transform: translateY(-50%);
        }

        /* Animated checkmark stroke */
        .checkmark svg {
            width: 100%;
            height: 100%;
            stroke: #28a745;
            stroke-width: 7;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 48;
            stroke-dashoffset: 48;
            animation: draw-check 1s ease-in-out forwards, pulse 2s 1s ease-in-out infinite;
            animation-fill-mode: forwards;
        }

        /* Animation to draw the check */
        @keyframes draw-check {
            0% {
                stroke-dashoffset: 48;
            }

            100% {
                stroke-dashoffset: 0;
            }
        }

        /* Animation for pulsing the check */
        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                stroke: #28a745;
                filter: drop-shadow(0 0 2px #28a745);
            }

            50% {
                transform: scale(1.15);
                stroke: #1e7e34;
                filter: drop-shadow(0 0 6px #1e7e34);
            }
        }

        .FondoRegistro {
            background-color: #fff;
        }

        /* efecto al botones del registro*/
        .btn-custom {
            font-weight: 600;
            font-size: 1.15rem;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            letter-spacing: 0.05em;
            user-select: none;
        }

        .btn-salir {
            background: #ff4b5c;
            color: #fff;
            border: 2px solid #ff4b5c;
        }

        .btn-salir:hover {
            background: transparent;
            color: #ff4b5c;
            box-shadow: 0 8px 30px #ff4b5caa;
            border-color: #ff4b5c;
            transform: scale(1.1);
        }

        .btn-agregar {
            background: #4b7cff;
            color: #fff;
            border: 2px solid #4b7cff;
        }

        .btn-agregar:hover {
            background: transparent;
            color: #4b7cff;
            box-shadow: 0 8px 30px #4b7cffaa;
            border-color: #4b7cff;
            transform: scale(1.1);
        }



        /*.form-container {
            width: 60vw;
            max-width: 600px;
            min-width: 280px;
            padding: 2rem;
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 0.15rem 1.75rem rgba(58,59,69,.15);
        }*/


        @media (max-width: 991.98px) {
            .body-wrapper {
                padding: 0% 2% 2% 2%;
                margin: 0% 5%;
            }

            .content-wrapper {
                flex-direction: column;
                max-width: 400px;
                margin: 0 auto;
                padding: 0;
            }

            .banner {
                display: none;
            }

            .logo-img {
                height: 70px;
                /* object-fit: contain;*/
            }

            .form-container {
                flex: 1 1 auto;
                width: 100%;
                padding: 2rem 1rem;
                /*max-width: 420px;*/
            }
        }