﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /*padding-left: 50px;
    padding-right: 50px;*/
    padding-top: 50px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/

}

.field-validation-error {
    color:red
}



/* Estilos para el área de firma */
#surface-container {
    padding: 10px;
}

#surface {
    border: 2px solid #000;
    background-color: #fff;
    width: 350px; /* Tamaño por defecto en pantallas grandes */
    height: 150px;
    margin: auto;
    position: relative;
    overflow: hidden; /* Evita que se dibuje fuera del área */
}

    /* Opcional: mensaje de fondo para indicar el área de firma */
    #surface::before {
        content: "Firme aquí";
        color: #ccc;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 16px;
        pointer-events: none;
    }

/* Ajuste de imágenes en las tarjetas de firma */
.signature-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    #surface {
        width: 90%; /* Reduce el ancho al 90% en pantallas medianas */
        height: 100px; /* Reduce la altura */
    }
}

@media (max-width: 480px) {
    #surface {
        width: 100%; /* Ocupa todo el ancho en móviles */
        height: 80px; /* Reduce aún más la altura */
    }
}
