/*title*/
#header{
    background: linear-gradient(white, darkgreen);
    background: -webkit-linear-gradient(white, darkgreen);
    background: -moz-linear-gradient(white, darkgreen);
    background: -o-linear-gradient(white, darkgreen);
    background: -ms-linear-gradient(white, darkgreen);
    height: 50px;
    width: 500px;
    margin: 10px auto;
    font-size: 2em;
    color: white;
    text-align:center;
    line-height: 50px;
    border-radius: 10px;
}
/*input container*/
.inputContainer{
    width:200px;
    margin: 10px auto;
}
/*color input, line thickeness, slider */
.input{
    height: 30px; 
    font-size: 1.5em;
}
#paintColor{
    width: 200px;
    margin: 0 auto;
}
#slider{
    width: 200px;
    margin: 20px auto;
}
#circle{
    width: 3px;
    height: 3px;
    background-color: black;
    border-radius: 50%;
    margin: 10px auto 0 auto; 
    position: absolute;
    top: 50%;
    left: 50%;
    /*top left corner is centered, we need to move half od diameter to left and up*/
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}
#thickenessInput{
    position: relative;
}
/*canvas*/
#canvasContainer{
    width: 500px;
    height: 400px;
    border: 2px solid rgba(0,100,0, 0.5);
    border-radius: 10px;
    margin: 10px auto;
}
#paint{
    background-color: white;
    cursor: crosshair;
}
/*buttons*/
.btnContainer{
    width: 399px;
    margin: 0 auto;
}
.btnInput{
    width:133px;
    color: darkgreen;
    font-size: 1.3em;
    font-weight: bold;
    float: left;
    margin-top: 10px;
    margin-bottom: 20px;
}
.button{
    background-color: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0px 3px rgba(0,100,0, 0.6);
    -webkit-box-shadow: 0px 3px rgba(0,100,0, 0.6);
    -moz-box-shadow: 0px 3px rgba(0,100,0, 0.6);
    -o-box-shadow: 0px 3px rgba(0,100,0, 0.6);
    -ms-box-shadow: 0px 3px rgba(0,100,0, 0.6);  
    position: relative;
}
.button:hover{
    color: white;
    background: linear-gradient(white, darkgreen);
    background: -webkit-linear-gradient(white, darkgreen);
    background: -moz-linear-gradient(white, darkgreen);
    background: -o-linear-gradient(white, darkgreen);
    background: -ms-linear-gradient(white, darkgreen); 
}
.button:active{
    top: 4px;
}
.eraseMode{
    background-color: red;
    color: white;
}


.banner {
    background-color: #f5f5f5; /* Color de fondo del banner */
    padding: 40px 20px; /* Espaciado dentro del banner */
    border-radius: 10px; /* Bordes redondeados */
}

.banner .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.banner h1 {
    font-size: 36px;
    font-weight: bold;
    margin-top: 20px;
    color: #333; /* Color principal del texto */
}

.banner h2 {
    font-size: 24px; 
    color: #364a63; /* Color del subtítulo */
}

.book {
    margin-bottom: 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/*=============================================
ESTILOS PARA MODALES DE CLIENTES
=============================================*/

/* Modal XL más grande y centrado */
.modal-xl {
    max-width: 95%;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

/* Mejoras visuales para secciones del modal */
.modal-body h6.text-primary {
    font-weight: 600;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(95, 39, 205, 0.1);
    margin-bottom: 1.5rem;
}

.modal-body h6.text-primary em {
    margin-right: 0.5rem;
}

/* Espaciado mejorado entre secciones */
.modal-body hr.my-4 {
    margin: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mejoras en inputs dentro de modales */
.modal-body .form-control-wrap {
    position: relative;
}

.modal-body .form-icon-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    z-index: 1;
    color: #6c757d;
}

.modal-body .form-control.input-lg {
    padding-left: 3rem;
}

/* Select con código de país mejorado */
.modal-body .input-group select.form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 0.875rem;
}

.modal-body .input-group .form-control-lg {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Texto de ayuda mejorado */
.modal-body .form-text.text-muted,
.modal-body small.form-text.text-muted {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Responsive: En móviles, los campos ocupan todo el ancho */
@media (max-width: 767.98px) {
    .modal-xl {
        max-width: 100%;
        margin: 0.5rem;
    }
    
    .modal-body .row > [class*="col-"] {
        margin-bottom: 0.5rem;
    }
    
    .modal-body h6.text-primary {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Mejoras en el header del modal */
.modal-header {
    border-bottom: 2px solid rgba(95, 39, 205, 0.1);
    padding: 1.25rem 1.5rem;
}

.modal-header .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Footer del modal */
.modal-footer.bg-light {
    border-top: 2px solid rgba(95, 39, 205, 0.1);
    padding: 1.25rem 1.5rem;
}

/* Mejora en el mensaje informativo */
.modal-body > p.text-muted.mb-4 {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid #5f27cd;
}

.modal-body > p.text-muted.mb-4 em {
    color: #5f27cd;
    margin-right: 0.5rem;
}