﻿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;
}

#divprincipal {
    display: flex !important;
    gap: 10px !important;
}
#divtext{
    margin-left: 25px;
}

#divform {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    border: 1px solid #427edd;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
    #divform input {
        background: none;
        border: 1px solid #427edd;
    }
    #divform textarea {
        background: none !important;
        border: 1px solid #427edd;
    }
    #divform select {
        border: 1px solid #427edd;
    }
    #divform label {
        color: #2b62b9;
    }

.btnEnviar {
    background: #3697ff;
    color: white;
    width: 120px;
    float: right;
    border-radius: 0px;
    height: 42px;
}
    .btnEnviar:hover {
        background: #3697ff;
        color: white;
    }

span {
    color: rgb(207, 48, 48);
    color:rgb(51, 73, 159) ;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none; /* oculto por defecto */
}

.lds-roller {
    /* change color here */
    color: #419cad
}

    .lds-roller,
    .lds-roller div,
    .lds-roller div:after {
        box-sizing: border-box;
    }

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-top: 20px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7.2px;
            height: 7.2px;
            border-radius: 50%;
            background: currentColor;
            margin: -3.6px 0 0 -3.6px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 62.62742px;
                left: 62.62742px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 67.71281px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 70.90963px;
                left: 48.28221px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 70.90963px;
                left: 31.71779px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 67.71281px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 62.62742px;
                left: 17.37258px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12.28719px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

    @media (max-width: 768px) {
        #divprincipal {
        flex-direction: column;
        width: 100%;
    }

    #divform, #divtext {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important; /* ✅ Forzar que no pase el ancho de pantalla */
    }

    input, textarea, select {
        width: 100% !important;
        box-sizing: border-box; /* ✅ Que padding/margins no rompan el ancho */
    }

    #divtext {
        margin-left: 0px;
        margin-top: 30px;
    }
}