* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../img/fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: #000;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 0;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(212, 19, 22, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d41316, #ff7e7e, #d41316);
}

.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    color: #d41316;
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Quentinpro', 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
    letter-spacing: 1px;
}

header h2 {
    color: #000;
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 20px;
}

.welcome-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(212, 19, 22, 0.1);
    backdrop-filter: blur(10px);
}

.welcome-section h3 {
    color: #d41316;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Quentinpro', 'Georgia', 'Times New Roman', serif;
    font-weight: bold;
}

.welcome-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #000;
    text-align: justify;
}

.rules-list {
    margin-bottom: 30px;
}

.rule-item {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #d41316;
    font-size: 0.95em;
    line-height: 1.5;
    color: #000;
    transition: all 0.3s ease;
}

/* Efecto hover removido del primer checkbox */

.acceptance-section {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border: 2px solid #d41316;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: #000;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #d41316;
    border-radius: 5px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #d41316;
    border-color: #d41316;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.visitor-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(212, 19, 22, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.visitor-form h3 {
    color: #000;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
}

.required-note {
    text-align: center;
    color: #d41316;
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 25px;
    font-style: italic;
}

.form-group {
    margin-bottom: 25px;
}

/* Estilos específicos para campos de selección SI/NO */
.form-group:has(.radio-group) label {
    font-size: 1.1em;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    padding: 10px;
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    border-radius: 8px;
    border-left: 4px solid #d31215;
}

/* Mejorar distribución de campos en pantallas grandes */
@media (min-width: 1200px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    .radio-group {
        justify-content: flex-start;
    }
}

/* Estilos específicos para campos de fecha y hora */
.form-row .form-group {
    position: relative;
}

.form-row .form-group label {
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    display: block;
}

.form-row .form-group input[type="datetime-local"] {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #d41316;
    border-radius: 10px;
    padding: 15px;
    font-size: 1em;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.1);
}

.form-row .form-group input[type="datetime-local"]:hover {
    border-color: #b31013;
    box-shadow: 0 4px 12px rgba(212, 19, 22, 0.15);
    transform: translateY(-1px);
}

.form-row .form-group input[type="datetime-local"]:focus {
    outline: none;
    border-color: #d41316;
    box-shadow: 0 0 0 4px rgba(212, 19, 22, 0.2);
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="datetime-local"],
.form-group input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #d41316;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group input[type="file"]:focus {
    outline: none;
    border-color: #d41316;
    box-shadow: 0 0 0 3px rgba(212, 19, 22, 0.1);
}

/* Estilos específicos para campo de archivos */
.form-group input[type="file"] {
    cursor: pointer;
    padding: 10px;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #d41316, #b31013);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #b31013, #8b0e11);
    transform: translateY(-1px);
}

/* Estilos para información de archivos */
.file-info {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

.radio-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.radio-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 20px 35px;
    border-radius: 15px;
    border: 3px solid #e8e8e8;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.radio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.radio-container:hover::before {
    left: 100%;
}

.radio-container:hover {
    border-color: #d41316;
    background: linear-gradient(145deg, #fff5f5, #ffe8e8);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 19, 22, 0.2);
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-container span {
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Estilos para el estado seleccionado */
.radio-container input[type="radio"]:checked ~ span {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.3em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: scale(1.05);
    position: relative;
}

/* Checkmark para botones seleccionados */
.radio-container input[type="radio"]:checked ~ span::before {
    content: '✅';
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: middle;
}

.radio-container input[type="radio"]:checked {
    border-color: #d41316;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 0 0 4px rgba(212, 19, 22, 0.3), 0 8px 25px rgba(212, 19, 22, 0.2);
    transform: scale(1.05);
}

/* Efecto de brillo para el estado seleccionado */
.radio-container input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d31215, #ff7e7e, #d31215);
    border-radius: 17px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

#firma, #foto, #video {
    border: 2px solid #d41316;
    border-radius: 8px;
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

#firma {
    cursor: crosshair;
}

#foto, #video {
    cursor: pointer;
}

.foto-container {
    text-align: center;
}

.foto-container label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.foto-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.foto-preview {
    width: 400px;
    height: 300px;
    border: 2px solid #d41316;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foto-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.foto-hint {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* Estilos específicos para campos datetime-local */
.form-group input[type="datetime-local"] {
    cursor: pointer;
    position: relative;
}

.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 4px;
    cursor: pointer;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    background-color: transparent;
    border: none;
    transform: scale(1.1);
}

/* Estilos para Firefox */
.form-group input[type="datetime-local"]::-moz-calendar-picker-indicator {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 4px;
    cursor: pointer;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.form-group input[type="datetime-local"]::-moz-calendar-picker-indicator:hover {
    background-color: transparent;
    border: none;
    transform: scale(1.1);
}

/* Estilos adicionales para calendario en blanco y negro */
.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: grayscale(100%) brightness(0%);
}

.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    filter: grayscale(100%) brightness(20%);
}

/* Para Edge/IE */
.form-group input[type="datetime-local"]::-ms-clear,
.form-group input[type="datetime-local"]::-ms-expand {
    filter: grayscale(100%) brightness(0%);
}

/* Estilos para el popup del calendario (cuando sea posible) */
.form-group input[type="datetime-local"]::-webkit-datetime-edit {
    color: #333;
}

.form-group input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
    color: #333;
}

.form-group input[type="datetime-local"]::-webkit-datetime-edit-text {
    color: #333;
}

.form-group input[type="datetime-local"]::-webkit-datetime-edit-month-field,
.form-group input[type="datetime-local"]::-webkit-datetime-edit-day-field,
.form-group input[type="datetime-local"]::-webkit-datetime-edit-year-field,
.form-group input[type="datetime-local"]::-webkit-datetime-edit-hour-field,
.form-group input[type="datetime-local"]::-webkit-datetime-edit-minute-field {
    color: #333;
}

/* Estilos para el popup del calendario */
.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    filter: grayscale(100%);
}

/* Estilos adicionales para asegurar calendario en blanco y negro */
.form-group input[type="datetime-local"] {
    color-scheme: light;
}

/* Personalización del calendario nativo */
.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: grayscale(100%) brightness(0%);
    opacity: 0.8;
}

.form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
    filter: grayscale(100%) brightness(20%);
    opacity: 1;
}

/* Para Firefox - calendario en blanco y negro */
.form-group input[type="datetime-local"]::-moz-calendar-picker-indicator {
    filter: grayscale(100%) brightness(0%);
    opacity: 0.8;
}

.form-group input[type="datetime-local"]::-moz-calendar-picker-indicator:hover {
    filter: grayscale(100%) brightness(20%);
    opacity: 1;
}

.firma-container {
    text-align: center;
}

.firma-container label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.firma-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.firma-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.firma-hint {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin: 0;
}

#limpiarFirma {
    background: #ff7e7e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    min-width: 120px;
}

#limpiarFirma:hover {
    background: #d41316;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ff7e7e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #d41316;
    transform: translateY(-2px);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: linear-gradient(135deg, #d41316, #b31013);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 19, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 19, 22, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.success-message {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(212, 19, 22, 0.1);
    backdrop-filter: blur(10px);
}

.success-message h3 {
    color: #000;
    font-size: 2em;
    margin-bottom: 15px;
}

.success-message p {
    color: #000;
    font-size: 1.2em;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 1199px) and (min-width: 769px) {
    .container {
        max-width: 900px;
        padding: 25px;
    }
    
    header h1 {
        font-size: 3em;
    }
    
    header h2 {
        font-size: 1.4em;
    }
    
    .welcome-section,
    .visitor-form {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    header h2 {
        font-size: 1.1em;
    }
    
    .logo {
        max-width: 150px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .welcome-section,
    .visitor-form {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .rule-item {
        padding: 12px;
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-container {
        padding: 25px 30px;
        min-width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .radio-container span {
        font-size: 1.4em;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 15px 20px;
        font-size: 1em;
    }
    
    #firma, #foto, #video, .foto-preview {
        width: 100%;
        max-width: 100%;
        height: 200px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group input[type="time"],
    .form-group input[type="datetime-local"] {
        padding: 15px;
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .checkbox-container {
        font-size: 1em;
        text-align: center;
        line-height: 1.4;
    }
    
    .checkmark {
        height: 28px;
        width: 28px;
        margin-right: 12px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visitor-form,
.success-message {
    animation: fadeIn 0.5s ease-out;
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-secondary {
        min-height: 44px; /* Tamaño mínimo recomendado para touch */
    }
    
    .checkmark,
    .radio-mark {
        min-width: 28px;
        min-height: 28px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group input[type="time"],
    .form-group input[type="datetime-local"] {
        min-height: 44px;
    }
    
    .radio-container {
        min-height: 80px;
        padding: 30px;
        margin-bottom: 20px;
    }
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #d41316;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b31013;
}

/* =====================================================
   FOOTER - Tostaditos Susanita
   ===================================================== */

/* Sticky footer - el body y container ya están configurados arriba */

.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 3px solid rgba(212, 19, 22, 0.3);
    padding: 12px 0;
    margin-top: auto;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 -4px 20px rgba(212, 19, 22, 0.1);
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

/* Línea semiopaca decorativa */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 19, 22, 0.4) 20%, 
        rgba(212, 19, 22, 0.6) 50%, 
        rgba(212, 19, 22, 0.4) 80%, 
        transparent 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.footer p {
    margin: 0;
    line-height: 1.6;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.footer .heart {
    color: #d41316;
    font-size: 16px;
    margin: 0 3px;
    animation: heartbeat 2s ease-in-out infinite;
}

/* Animación sutil del corazón */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer::before {
        width: 80%;
    }
    
    .footer p {
        flex-direction: column;
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 120px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .footer {
        padding: 8px 0;
        font-size: 12px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer::before {
        width: 90%;
    }
}

/* =====================================================
   SECCIÓN DE CONFIDENCIALIDAD
   ===================================================== */

.confidentiality-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(212, 19, 22, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #d41316;
}

.confidentiality-section h3 {
    color: #d41316;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Quentinpro', 'Georgia', 'Times New Roman', serif;
}

.confidentiality-content {
    margin-bottom: 25px;
}

.confidentiality-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
    text-align: justify;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d41316;
}

.confidentiality-content strong {
    color: #d41316;
    font-weight: bold;
}

.penalty-clause {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.penalty-clause h4 {
    color: #d41316;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    font-family: 'Quentinpro', 'Georgia', 'Times New Roman', serif;
}

.penalty-clause p {
    color: #856404;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
    text-align: justify;
}

/* Responsive para sección de confidencialidad */
@media (max-width: 768px) {
    .confidentiality-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .confidentiality-section h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .confidentiality-content p {
        font-size: 0.9em;
        padding: 8px;
        margin-bottom: 12px;
    }
    
    .penalty-clause {
        padding: 15px;
        margin-top: 15px;
    }
    
    .penalty-clause h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .penalty-clause p {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .confidentiality-section {
        padding: 15px;
    }
    
    .confidentiality-section h3 {
        font-size: 1.3em;
    }
    
    .confidentiality-content p {
        font-size: 0.85em;
        padding: 6px;
        margin-bottom: 10px;
    }
    
    .penalty-clause {
        padding: 12px;
    }
    
    .penalty-clause h4 {
        font-size: 1em;
    }
    
    .penalty-clause p {
        font-size: 0.8em;
    }
}

/* Sistema de Registro de Visitantes - Tostaditos Susanita - Versión Final */

/* Estilos para checkbox de política de datos personales */
.checkbox-group {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: #d41316;
    box-shadow: 0 4px 15px rgba(212, 19, 22, 0.1);
}

.checkbox-label-politica {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    position: relative;
    padding-left: 35px;
}

.checkbox-label-politica input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-politica {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d41316;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label-politica:hover .checkmark-politica {
    background-color: #f8f8f8;
    border-color: #b01013;
}

.checkbox-label-politica input:checked ~ .checkmark-politica {
    background-color: #d41316;
    border-color: #d41316;
}

.checkmark-politica:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label-politica input:checked ~ .checkmark-politica:after {
    display: block;
}

.checkbox-label-politica .checkmark-politica:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.politica-link {
    color: #d41316;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.politica-link:hover {
    color: #b01013;
    border-bottom-color: #b01013;
    text-decoration: none;
}

/* Estilos para botón deshabilitado */
.btn-primary:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border-color: #ccc;
    opacity: 0.6;
}

.btn-primary:disabled:hover {
    background-color: #ccc;
    color: #666;
    transform: none;
    box-shadow: none;
}

/* Responsive para checkbox de política */
@media (max-width: 768px) {
    .checkbox-group {
        margin: 15px 0;
        padding: 12px;
    }
    
    .checkbox-label-politica {
        font-size: 13px;
        padding-left: 30px;
    }
    
    .checkmark-politica {
        height: 18px;
        width: 18px;
    }
    
    .checkbox-label-politica .checkmark-politica:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 9px;
    }
}


