        .Form-Espacio {
            display: inline-block;
            margin-left: -5px;
            vertical-align: top;
            width: 100%;
            height: 750px;
            background-color: var(--VinoAVOS);
            background-image: url(../svg/azul.svg);
            background-position: top;
            background-repeat: no-repeat;
        }

        .Form-titulo {
            display: flex;
            justify-content: center;
            color: #fff;
            margin-top: 10px;
            font-size: 1.2em;
            font-weight: bold;
        }

        .Form-texto {
            text-align: center;
            color: #fff;
            margin: auto;
            margin-top: 60px;
            max-width: 300px;
            line-height: 1.5;
        }

        form .btn-form {
            display: flex;
            margin: 25px auto;
            background-color: var(--AzulAVOS);
            border: 0px;
            color: #fff;
            padding: 5px 60px;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
        }

        form .btn-form:hover {
            background-color: var(--GrisAVOS);
            transform: scale(1.01);
            color: var(--blanco);
        }

        /* =========================================================
           ESTILOS DEL FORMULARIO
           ========================================================= */
        #FormularioMBC {
            display: flex;
            flex-direction: column;
            padding: 20px;
            gap: 15px;
        }

        #FormularioMBC input,
        #FormularioMBC textarea {
            width: 50%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
            margin-right: auto;
            margin-left: auto;
        }

        #FormularioMBC input:focus,
        #FormularioMBC textarea:focus {
            outline: none;
            border-color: #212c55;
            box-shadow: 0 0 5px rgba(33, 44, 85, 0.3);
        }

        /* =========================================================
           ESTILOS DEL CAPTCHA
           ========================================================= */
        .captcha-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 15px 0;
        }

        /* .captcha-image {
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #f5f5f5;
            height: 40px;
            width: 180px;
        }

        .captcha-input {
            flex: 1;
            width: 200px;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            text-transform: uppercase;
        }

        .captcha-reload {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 20px;
            padding: 5px;
            transition: transform 0.3s;
        } */

        .captcha-container {
                flex-direction: column;
                align-items: stretch;
            }

            .captcha-image {
                align-self: center;
                margin-bottom: 2px;
            }

            .captcha-reload {
                background: none;
                border: none;
                color: #fff;
                cursor: pointer;
                font-size: 20px;
                padding: 0px 5px;
                transition: transform 0.3s;
                align-self: center;
            }

        .captcha-reload:hover {
            transform: rotate(180deg);
        }



        

        /* =========================================================
           ESTILOS DEL POPUP DE ERROR
           ========================================================= */
        .popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .popup-content {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            max-width: 450px;
            width: 90%;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            animation: popupAppear 0.3s ease-out;
            position: relative;
        }

        @keyframes popupAppear {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .popup-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #999;
            transition: color 0.3s;
        }

        .popup-close:hover {
            color: #212c55;
        }

        .popup-icon {
            font-size: 50px;
            color: #cf3339;
            margin-bottom: 15px;
        }

        .popup-title {
            color: #212c55;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .popup-message {
            color: #575757;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .popup-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .popup-button:hover {
            transform: translateY(-2px);
        }

        /* =========================================================
           CONTADOR DE CARACTERES
           ========================================================= */
        .char-counter {
            text-align: right;
            color: #fff;
            font-size: 12px;
            margin-top: 5px;
            padding-right: 5px;
        }
        .Moscro{
            max-width: 200px;
            position:absolute;
        }

        /* =========================================================
           RESPONSIVE
           ========================================================= */
        @media (max-width: 768px) {
            .Moscro{
            max-width: 20%;
            position:absolute;
        }
            .Form-Espacio {
                width: 100%;
                margin-left: 0;
                height: auto;
                min-height: 600px;
            }

            .captcha-container {
                flex-direction: column;
                align-items: stretch;
            }

            .captcha-image {
                align-self: center;
                margin-bottom: 10px;
            }

            .captcha-reload {
                align-self: center;
            }
        }

        @media (max-width: 480px) {
            #FormularioMBC {
                padding: 15px;
            }

            .Form-texto {
                margin-top: 30px;
                max-width: 90%;
            }

            .popup-content {
                padding: 20px;
            }
        }