/*
|--------------------------------------------------------------------------
| CONTENEDOR
|--------------------------------------------------------------------------
*/

.si-contenedor {

    width: 100%;
    max-width: 700px;

    margin: 30px auto;
    padding: 30px;

    background: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| TITULO
|--------------------------------------------------------------------------
*/

.si-contenedor h2 {

    margin-top: 0;
    margin-bottom: 25px;

}


/*
|--------------------------------------------------------------------------
| CAMPOS
|--------------------------------------------------------------------------
*/

.si-campo {

    margin-bottom: 20px;

}


.si-campo label {

    display: block;

    margin-bottom: 7px;

    font-weight: 600;

}


/*
|--------------------------------------------------------------------------
| INPUTS
|--------------------------------------------------------------------------
*/

.si-campo input,
.si-campo select {

    width: 100%;

    padding: 12px;

    border: 1px solid #cccccc;

    border-radius: 6px;

    box-sizing: border-box;

    background: #ffffff;

    color: #222222;

    font-size: 15px;

}


/*
|--------------------------------------------------------------------------
| CONTENEDOR DE FIRMA
|--------------------------------------------------------------------------
*/

.si-firma-contenedor {

    position: relative;

    width: 100%;

    height: 200px;

    margin-top: 8px;

    border: 2px solid #cccccc;

    border-radius: 6px;

    background-color: #ffffff;

    overflow: hidden;

    box-sizing: border-box;

}


/*
|--------------------------------------------------------------------------
| CANVAS
|--------------------------------------------------------------------------
*/

#si-firma {

    display: block;

    width: 100%;

    height: 100%;

    background-color: #ffffff;

    touch-action: none;

    cursor: crosshair;

}


/*
|--------------------------------------------------------------------------
| BOTÓN BORRAR
|--------------------------------------------------------------------------
*/

#si-borrar-firma {

    margin-top: 10px;

    padding: 8px 15px;

    border: none;

    border-radius: 5px;

    background: #eeeeee;

    color: #333333;

    cursor: pointer;

}


#si-borrar-firma:hover {

    background: #dddddd;

}


/*
|--------------------------------------------------------------------------
| BOTÓN ENVIAR
|--------------------------------------------------------------------------
*/

#si-enviar {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 6px;

    background: #2271b1;

    color: #ffffff;

    cursor: pointer;

    font-size: 16px;

    font-weight: 600;

}


#si-enviar:hover {

    background: #135e96;

}


#si-enviar:disabled {

    opacity: 0.6;

    cursor: not-allowed;

}


/*
|--------------------------------------------------------------------------
| MENSAJE
|--------------------------------------------------------------------------
*/

.si-mensaje {

    display: none;

    padding: 12px;

    margin-bottom: 20px;

    border-radius: 6px;

    font-size: 14px;

}


.si-mensaje.exito {

    display: block;

    background: #d1e7dd;

    color: #0f5132;

}


.si-mensaje.error {

    display: block;

    background: #f8d7da;

    color: #842029;

}