body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}
h1 {
    text-align: center;
    color: #cf2224;
    font-size: 28px;
}
.section {
    background-color: #cf2224;
    color: white;
    padding: 15px;
    margin-top: 30px;
    border-radius: 5px;
    font-weight: bold;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table, th, td {
    border: 1px solid #ddd;
}
th, td {
    padding: 15px;
    text-align: left;
}
input[type="text"], input[type="email"], input[type="date"], input[type="checkbox"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 4px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}
input[type="checkbox"] {
    width: auto;
}
input[type="submit"] {
    background-color: #cf2224;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
input[type="submit"]:hover {
    background-color: #f76769;
}
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }
    table, input {
        font-size: 14px;
    }
}
/* Estilos para el select */
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    -webkit-appearance: none; /* Ocultar la flecha predeterminada */
    -moz-appearance: none; /* Ocultar la flecha predeterminada */
    appearance: none; /* Ocultar la flecha predeterminada */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23cf2224" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); /* Flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

select:hover {
    border-color: #cf2224; /* Cambiar el borde al pasar el ratón */
}

select:focus {
    outline: none;
    border-color: #f76769; /* Color de borde al hacer clic */
}

/* Aumentar espacio en dispositivos móviles */
@media (max-width: 768px) {
    select {
        font-size: 14px;
        padding: 8px;
    }
}
/* Estilos personalizados para los checkbox */
input[type="checkbox"] {
    /* Ocultar el checkbox original */
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

input[type="checkbox"] + label {
    /* Caja personalizada */
    position: relative;
    padding-left: 20%;
    cursor: pointer;
    user-select: none;
    font-size: 16px;
}

input[type="checkbox"] + label:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #cf2224;
    border-radius: 5px;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

input[type="checkbox"]:disabled {
    background-color: #e9ecef; /* Gris claro */
    cursor: not-allowed; /* Mostrar que no es interactivo */
}

input[type="checkbox"]:checked + label:before {
    background-color: #cf2224;
}

.consent-table {
width: 100%;
border-collapse: collapse;
}

.consent-table td {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    text-align: justify;
}

.consent-table p {
    font-size: 14px;
    color: #333;
    margin: 0 0 15px;
}


.consent-table h2 {
    font-size: 18px;
    font-weight: bold;
    color: #cf2224;
    text-align: center;
    margin-bottom: 10px;
}
.firma-table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
}

.firma-table td {
    width: 25%;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.firma-table input[type="text"],
.firma-table input[type="date"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.firma-table hr {
    border: none;
    border-top: 1px solid #333;
    width: 100%;
}

@media (max-width: 768px) {
    .firma-table td {
        font-size: 12px;
    }
    .firma-table input[type="text"],
    .firma-table input[type="date"] {
        font-size: 12px;
        padding: 6px;
    }
}
#signature-pad {
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    position: relative;
}
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}
.tabla-inicio {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
}

.tabla-inicio td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

.celda-logo {
    width: 25%; /* Ajuste de ancho para el logo */
    text-align: left;
}

.celda-titulo {
    font-weight: bold;
    font-size: 18px;
}

.celda-fecha {
    width: 25%; /* Ajuste de ancho para la fecha */
    background-color: #FFF2CC;
    font-weight: bold;
    font-size: 14px;
}

.logo-inicio {
    max-width: 100%;
    height: auto;
}



.form-label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid black;
    resize: none;
    font-size: 16px;
    padding: 5px 0;
}

