:root {
    --color1: rgb(0, 113, 179);      
    /* --color1: #003f5a; */
    --color2: #0f8bd3 ;
    --color-fondo: #fff;
    --color-fieldset: #f3faff;
    /* --color-jumbotron: #f1f2f2; */
    --color-jumbotron: #003f5a;
    --color-success: green;
    --color-back: orange;
}

body {
    font-size: 1.1em;
    scroll-behavior: smooth !important;
}

.color-primario{
    color: var(--color1);
} 

h1, .h1 {
    /* color: var(--color1); */
}

h2, .h2 {
    color: var(--color1);
    font-weight: bolder !important;
}

a {
    color: var(--color1) !important;
    text-decoration: none !important;
}

.logo{
    height: auto;
    width: 400px;
    max-width: 100%;
} 

.fondo {
    background-color: var(--color-fondo);
}

.jumbotron-color, footer {
    background-color: var(--color-jumbotron) !important;
    color: #fff;
} 

.jumbotron-color a, footer a {
    color: var(--bs-warning) !important;
    /* text-decoration: underline !important; */
}

.jumbotron-color a:hover, footer a:hover {
    color: #fff !important;
}

.card{
    border: none !important;
} 

.card-body {
    padding: 1rem 1rem 0 1rem !important;
  }

.card-home{
    /* border: 1px solid #00000020 !important; */    
    border-radius: 0.25rem;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.18), 0 0px 0 1px rgba(10, 10, 10, 0.02);    
} 

/* Alineaciones */
.left_to_center {
    text-align: left !important;
}
.end-to-center {
    text-align: right !important;
}
.end-to-left {
    text-align: right !important;
}

/* Botones */
.btn-i3a {    
    color: #fff !important;
    background-color: var(--color1) !important;
    border-color: var(--color1) !important;
    width: 100%;
    font-size: 2em !important;
    margin-bottom: 1em;
}

.btn-i3a-success {    
    color: #fff !important;
    background-color: var(--color-success) !important;
    border-color: var(--color-success) !important;
    width: 48%;
    font-size: 2em !important;
    margin-bottom: 1em;
}

.btn-i3a-back {    
    color: #fff !important;
    background-color: var(--color-back) !important;
    border-color: var(--color-back) !important;
    width: 48%;
    font-size: 2em !important;
    margin-bottom: 1em;
}

.btn-i3a-small {    
    font-size: 1.2rem !important;
}

.btn-pagar{
    width: 200px !important;
} 

.btn:hover{
    opacity: 0.8;
} 

/* FORMS */

.text-muted {
    margin-left: 2.2em;
    display: block;
}

/* Estilo base para los inputs */
input, select, textarea {
    background-color: #fff; 
    border: 2px solid #ced4da; 
    border-radius: 8px; 
    padding: 10px; 
    width: 100%; 
    transition: all 0.3s ease-in-out; 
} 

input:focus, select:focus, textarea:focus {
    border-color: #007bff; 
    outline: none; 
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

/* Para inputs con errores, si los tienes validados */
input:invalid, select:invalid, textarea:invalid {
    /* border-color: #dc3545;  */
}

.asterisco {
    color: red;
    font-weight: normal;
    font-size: 1.2em;
}

 .errors {
    color: red;
    font-size: 12px;
}

.error {
    margin-top: 5px;
    color: red;
} 

.campo, .etiqueta {
    margin: 1em 2em;
}

input[type="radio"] { 
    margin: 0;
    appearance: none; 
    width: 12px; 
    height: 12px; 
    border: 2px solid var(--color1); 
    border-radius: 50%; 
    background-color: #fff; 
    cursor: pointer; 
    transition: all 0.3s ease-in-out; 
}
 
input[type="radio"]:hover {
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); 
    border-color: var(--color2); 
}
 
input[type="radio"]:checked {
    background-color: var(--color1); 
    border-color: var(--color1); 
    box-shadow: 0 0 8px rgba(0, 113, 179, 0.5); 
} 


label:has(input[type="radio"]) {
    display: inline-flex;
    align-items: flex-start; 
    gap: 12px;
}

.check-opcionales input {
    margin: 0; 
}

textarea {
    width: 100%;
}

fieldset {
    background-color: var(--color-fieldset);
    margin: 4rem 0 !important;
}

fieldset.border {
    border: 2px solid var(--color1) !important;
}

legend {
    font-size: 2em !important;
    font-weight: normal;
}

footer{
    padding: 2rem !important;
} 

.footer-bloque { 
    border-left:   2px solid #fff ; 
    padding-left: 1em !important; 
    /* box-shadow: -2px 0 5px rgba(255, 255, 255, 0.3); */
} 

/* Responsive */
@media only screen and (max-width: 600px) {
    .end-to-center {
        text-align: center !important;
    }
    .end-to-left {
        text-align: left !important;
    }
    .left_to_center {
        text-align: center !important;
    }
    .navbar-text {
        display: block;
        width: 100%;
    }
    img-detalle {
        max-height: 100px;
    }
    textarea {
        width: 100%;
    }
    legend {
        font-size: 1.5em !important;
    }
    fieldset {
        margin: 3rem 0 !important;
    }
    .campo, .etiqueta {
        margin: 1em 0;    
    }
    .btn-i3a-success, .btn-i3a-back {   
        width: 100%;
    }
}
