@import url(./webfont/stylesheet.css);
        body {
            font-family: 'Alright Sans', 'Poppins', sans-serif;
            background-color: #fff;
            min-height: 100vh;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }


        .card {
            border: none;
            border-radius: 20px;
            width: 100%;
            max-width: 480px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
            background: white;
            transition: max-width 0.3s ease;
        }

        .text-primary{
            color: #D31145 !important;
        }


        .bg-primary {
            background-color: #D31145 !important;
            position: relative;
            padding-bottom: 4rem;
            padding-top: 3rem;
            z-index: 1;
        }


        .card-img-top {
            width: 220px;
            height: 220px;
            object-fit: cover;
            border-radius: 50%;
            display: block;
            margin: 0 auto;
            margin-bottom: -9rem;
            position: relative;
            z-index: 10;
            filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
        }


        .card-body {
            padding-top: 6rem;
            padding-bottom: 3rem;
            padding-left: 2rem;
            padding-right: 2rem;
        }


        .btn-primary {
            background-color: #D31145;
            border-color: #D31145;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.8rem;
            border-radius: 0;
            box-shadow: 0 4px 6px rgba(211, 17, 69, 0.2);
        }

        .btn-primary:hover {
            background-color: #a80d37;
            border-color: #a80d37;
        }

        .btn-primary:focus,
        .btn-primary:active,
        .btn-primary:active:focus {
            background-color: #a80d37;
            border-color: #a80d37;
            box-shadow: 0 0 0 0.25rem rgba(211, 17, 69, 0.5);
        }

        .btn-outline-secondary {
            color: #000;
            border-color: #000;
            border-width: 2px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.8rem;
            border-radius: 0;
        }
        .btn-outline-secondary:hover {
            background-color: #f8f9fa;
            color: #000;
            border-color: #000;
        }
        .btn-outline-secondary:focus {
            box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.5);
        }

        .form-control {
            border-radius: 0;
            padding: 0.75rem;
            border: 1px solid #ced4da;
        }
        .form-control:focus {
            border-color: #D31145;
            box-shadow: 0 0 0 0.25rem rgba(211, 17, 69, 0.25);
        }

        .input-group-text {
            border-radius: 0;
            background: white;
            border-left: none;
            cursor: pointer;
        }

        form a {
            color: #D31145;
            text-decoration: underline !important;
            font-weight: 500;
            display: block;
            text-align: center;
            margin: 1.5rem 0;
        }
        form a:hover {
            color: #a80d37;
        }

        h2 {
            font-weight: 800;
            text-transform: uppercase;
            font-size: 1.8rem;
            letter-spacing: -0.5px;
        }

         .pastel-img {
            width: 220px;
            height: 220px;
            object-fit: cover;
            border-radius: 50%;
            display: block;
            margin: 0 auto;
            margin-bottom: -9rem; /* Efecto flotante en móvil */
            position: relative;
            z-index: 10;
            filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
            object-position: bottom;
        }

        .content-panel {
            padding-top: 6rem;
            padding-bottom: 3rem;
            padding-left: 2rem;
            padding-right: 2rem;
            /* Centrado del contenido */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }


        /* Contenedor del formulario para que no se estire demasiado en pantallas anchas */
        .form-wrapper {
            width: 100%;
            max-width: 400px; /* Ancho máximo elegante para los inputs */
        }


        @media (min-width: 768px) {
            .card {
                max-width: 900px;
                margin: auto;
            }

            .bg-primary {
                height: 100%;
                padding-bottom: 0;
                padding-top: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }

            .card-img-top {
                margin-bottom: 0;
                width: 280px;
                height: 280px;
                margin-top: 2rem;
            }

            .card-body {
                padding-top: 3rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                height: 100%;
            }
        }

        @media (max-width: 500px) {
            .card {
                max-width: 100%;
                border-radius: 0;
                box-shadow: none;
                height: 100vh;
            }
            body {
                padding: 0;
                background: white;
            }
        }





        .main-container {
            width: 100%;
            padding: 2rem 1.5rem;
            background: white;
            max-width: 550px;
        }


        .form-label {
            color: #666;
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
        }

        .form-control, .form-select {
            border-radius: 0;
            padding: 0.75rem;
            border: 1px solid #ced4da;
            color: #495057;
            background-color: #fff;
        }

        .form-control:focus, .form-select:focus {
            border-color: #D31145;
            box-shadow: 0 0 0 0.25rem rgba(211, 17, 69, 0.15);
        }

        ::placeholder {
            color: #adb5bd !important;
            opacity: 1;
        }

        .input-group-text {
            border-radius: 0;
            background: white;
            border-left: none;
            border-color: #ced4da;
            cursor: pointer;
            color: #adb5bd;
        }

        .calendar-btn {
            background-color: #D31145 !important;
            border-color: #D31145 !important;
            color: white !important;
            cursor: pointer;
            transition: background 0.3s;
        }
        .calendar-btn:hover {
            background-color: #a80d37 !important;
        }

        .fa-circle-question {
            color: #D31145;
            font-size: 1.1rem;
            vertical-align: middle;
            margin-left: 5px;
            cursor: help;
        }

        .btn-primary {
            background-color: #D31145;
            border-color: #D31145;
            font-weight: 800;
            text-transform: uppercase;
            padding: 1rem;
            border-radius: 0;
            font-size: 1.1rem;
            box-shadow: 0 4px 6px rgba(211, 17, 69, 0.2);
            margin-top: 1rem;
        }
        .btn-primary:hover {
            background-color: #a80d37;
            border-color: #a80d37;
        }
        .btn-primary:focus {
            box-shadow: 0 0 0 0.25rem rgba(211, 17, 69, 0.5);
        }

        /* LOGOTIPO */
        .logo-img {
            max-width: 180px;
            margin-bottom: 2rem;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }

        /* Arreglo específico para Safari/Mobile inputs fecha */
        input[type="date"] {
            -webkit-appearance: none;
            position: relative;
        }





        .otp-container {
            display: flex;
            justify-content: space-between;
            gap: 8px; /* Espacio entre cajitas */
            margin: 20px 0;
        }

        .otp-input {
            width: 100%;
            height: 55px; /* Altura rectangular vertical */
            text-align: center;
            font-size: 1.5rem;
            font-weight: 600;
            color: #495057;
            border: 1px solid #ced4da;
            /* Heredando el estilo cuadrado de tus inputs */
            border-radius: 0; /* Aseguramos que sea cuadrado como tus otros inputs */
        }

        /* Estado focus idéntico a tus inputs generales */
        .otp-input:focus {
            border-color: #D31145;
            outline: none;
            box-shadow: 0 0 0 0.25rem rgba(211, 17, 69, 0.15);
        }

        .text-instructions {
            text-align: center;
            color: #333;
            font-size: 1rem;
            margin-bottom: 2rem;
            line-height: 1.5;
        }

        .label-bold {
            font-weight: 700;
            color: #222;
            text-align: center;
            display: block;
            margin-bottom: 10px;
        }

        /* Ajuste específico para el link "Enviar nuevamente" para que sea bold como en la imagen */
        .link-resend {
            font-weight: 700 !important;
            margin: 1rem 0 !important;
        }

        .title-custom {
            color: #212529; /* Dark gray casi negro */
            font-weight: 800;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            text-align: center;
        }

        .text-instructions {
            text-align: center;
            color: #444;
            font-size: 0.95rem;
            margin-bottom: 2rem;
            line-height: 1.4;
            padding: 0 10px; /* Margen para que no toque bordes */
        }



        .modal-content {
            border-radius: 0; /* Opcional: si quieres bordes cuadrados o mantener el redondeado por defecto */
            border: none;
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
            padding: 1.5rem; /* Espaciado interno extra */
        }

        /* Botón de cerrar (X) */
        .btn-close-custom {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.2rem;
            z-index: 10;
            opacity: 1;
        }

        /* Ícono central rojo */
        .modal-icon {
            font-size: 4rem;
            color: #D31145;
        }

        .icon-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .modal-title-custom {
            font-weight: 800;
            color: #222;
            text-align: center;
            margin-bottom: 1rem;
            font-size: 1.4rem;
            text-transform: inherit;
        }

        .modal-text {
            text-align: center;
            color: #444;
            font-size: 0.95rem;
            margin-bottom: 2rem;
            line-height: 1.4;
        }

        .form-label-red-asterisk::after {
            content: " *";
            color: #D31145;
        }

        .label-custom {
            font-size: 0.9rem;
            color: #333;
            margin-bottom: 5px;
        }

         /* 3. MEDIA QUERIES: ADAPTACIÓN ESCRITORIO FULL SCREEN */
        @media (min-width: 768px) {

            /* El fondo rojo ocupa toda la altura disponible */
            .bg-primary {
                height: 100vh; /* Altura completa */
                padding: 0;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
            }

            /* Imagen más grande y centrada en su panel */
            .pastel-img {
                margin: 0; /* Quitamos márgenes negativos */
                width: 350px; /* Más grande para aprovechar el espacio */
                height: 350px;
                margin-top: 2rem;
            }

            /* El panel derecho también ocupa toda la altura */
            .content-panel {
                height: 100vh;
                padding-top: 0; /* Reset padding móvil */
            }
        }