/* base.css */
:root{
    --gris_fora: #20232C;
    --fondo_tabla: #ffffff;  
}

@font-face {
    font-family: 'Poppins';
    src: url('Poppins-Regular.ttf');
}

/* Reset básico */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #888;
}
::-webkit-scrollbar-thumb {
    background-color:var(--gris_fora); 
    border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--gris_fora);
}


body {
    color: var(--gris_fora);
    font-family: 'Poppins', sans-serif;
    background-image: url('../../static/img/fondo_biopatch.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Keep this to prevent horizontal scroll */
    position: relative; /* Add this to help contain absolute elements */
    width: 100%; /* Ensure it takes full width */
}

/* Botón de envío */
.btn-submit {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #45a049;
}

/* Mensajes de alerta */
.flash-messages {
    margin-top: 15px;
}

.flash {
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: center;
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
}

.flash.danger {
    background-color: #f8d7da;
    color: #721c24;
}

.flash.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.superior {
    width: 100%;
    height: 60px;
    background-color: var(--gris_fora);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative; /* Add this to properly contain children */
    box-sizing: border-box; /* Ensure padding is included in width */
}

.superior a{
    text-decoration: none;
    margin-left: 8%;
}

.superior a:hover{
    text-decoration: none;
}

.tituloSuperior{
    color: whitesmoke;
    font-weight: bold;
    font-size: 38px;
    margin-left: 40px;
}

.subtituloSuperior{
    color: whitesmoke;
    font-weight: bold;
    font-size: 12px;
}

.logotipoSuperior{
    width: 120px;
    margin-top:2px;
}

.logotipoInferior {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(32, 35, 44, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 13px;
}

.logotipoInferior a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4CAF50;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

.logotipoInferior img {
    height: 24px;
    width: auto;
    object-fit: contain;
    margin-right: 2px;
    vertical-align: middle;
}


/* Botón de perfil mejorado con efecto de hover */
#userProfile {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid #fff; /* Borde blanco sutil */
    background-color: #f0f0f0; /* Fondo gris claro */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

#userProfile img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

#userProfile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
}

.userPanel {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #fff;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px); /* Change from 100% to a fixed value */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    pointer-events: none; /* Disable interactions when hidden */
}

/* Cuando el panel se muestra */
.userPanel.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto; /* Enable interactions when visible */
}

/* Cuando el panel se oculta */
.userPanel.hide {
    opacity: 0;
    transform: translateX(20px); /* Match the initial state */
    pointer-events: none;
}

.userPanel ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.userPanel ul li {
    padding: 12px 20px;
    text-align: left;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.userPanel ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: block;
    width: 100%;
    border: none;
}

.userPanel ul li:hover {
    background-color: #f0f0f0; /* Fondo gris claro al pasar el ratón */
}

.userPanel ul li a:hover {
    color: #007bff; /* Color azul en el texto al hacer hover */
}

/* Modal para cambio de mapa base */
.map-base-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99990;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden; /* Add this to prevent scroll influence */
    pointer-events: none; /* Add this when hidden */
    box-sizing: border-box; /* Add this for consistent sizing */
}

.show-modal {
    display: flex !important;
    opacity: 1;
    pointer-events: auto; /* Re-enable pointer events when visible */
}

.map-base-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.show-modal .map-base-modal-content {
    transform: translateY(0);
}

.map-base-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.map-base-close-btn:hover {
    color: #333;
}

.map-base-modal-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.map-base-modal-header h2 {
    color: var(--gris_fora);
    font-size: 24px;
    margin: 0;
}

.map-base-modal-header p {
    color: #666;
    margin: 8px 0 0;
    font-size: 14px;
}

.file-upload-container {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
}

.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #f5f5f5;
    color: #555;
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    margin-bottom: 20px;
    min-height: 80px;
    text-align: center;
}

.file-label:hover {
    border-color: #4CAF50;
    background-color: #f9f9f9;
    color: #4CAF50;
}

.file-icon {
    margin-right: 10px;
    font-size: 24px;
}

.map-base-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.map-base-submit-btn:hover {
    background-color: #45a049;
}

.map-base-submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.map-base-hint {
    margin-top: 15px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* Estilos para el campo de código de confirmación */
.code-input-container {
    margin-bottom: 20px;
}

.code-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.code-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.code-input::placeholder {
    color: #aaa;
}

.custom-notification {
    position: fixed;
    top: 80px;
    left: 20px;
    background-color: white;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 16px;
    z-index: 1000000;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s, transform 0.3s;
    max-width: 350px;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-notification.hiding {
    opacity: 0;
    transform: translateX(30px);
}

/* Estilos para el modal de procesamiento */
.processing-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.processing-modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.processing-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.processing-modal.show .processing-modal-content {
    transform: translateY(0);
}

.processing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.processing-spinner {
    width: 100%;
    height: 100%;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.processing-icon::after {
    content: '📊';
    font-size: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.processing-title {
    color: var(--gris_fora);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.processing-description {
    color: #555;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.processing-steps {
    text-align: left;
    margin: 20px 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.processing-step {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.processing-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    color: #444;
}

.processing-progress {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #4CAF50;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.processing-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin-top: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animación para simular carga progresiva */
@keyframes progressAnimation {
    0% { width: 10%; }
    20% { width: 25%; }
    50% { width: 40%; }
    70% { width: 60%; }
    90% { width: 75%; }
    100% { width: 90%; }
}
.processing-step.completed .step-number {
    background-color: #4CAF50;
}

.processing-step.current .step-number {
    background-color: #2196F3;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.processing-step.completed .step-text {
    color: #4CAF50;
    font-weight: 500;
}

.processing-step.current .step-text {
    color: #2196F3;
    font-weight: 700;
}

/* Modal para formulario de informe */
.informe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99990;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.show-informe-modal {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.informe-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.show-informe-modal .informe-modal-content {
    transform: translateY(0);
}

.informe-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.informe-close-btn:hover {
    color: #333;
}

.informe-modal-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.informe-modal-header h2 {
    color: var(--gris_fora);
    font-size: 24px;
    margin: 0 0 8px 0;
}

.informe-modal-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.informe-form {
    display: flex;
    flex-direction: column;
}

.form-section {
    margin-bottom: 20px;
}

.form-section h3 {
    color: var(--gris_fora);
    font-size: 16px;
    margin-bottom: 10px;
    border-left: 4px solid #4CAF50;
    padding-left: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
    background-color: #fff;
}

.form-input::placeholder {
    color: #aaa;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    width: auto;
    margin-right: 8px;
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.form-checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.informe-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.informe-submit-btn:hover {
    background-color: #45a049;
}

.informe-submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* Estilos para campos requeridos */
.form-group.required label::after {
    content: ' *';
    color: #e74c3c;
}

.form-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 20px 0;
}
.userPanel ul li a.disabled-option {
    color: #999 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.5;
}

.userPanel ul li a.disabled-option:hover {
    background-color: transparent !important;
    color: #999 !important;
}

/* Modal para actualizar capa base con archivo de usuario */
.actualizar-capa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
    pointer-events: none;
    box-sizing: border-box;
}

.show-actualizar-modal {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.actualizar-capa-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border-top: 5px solid #ff9800;
}

.show-actualizar-modal .actualizar-capa-modal-content {
    transform: translateY(0);
}

.actualizar-capa-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.actualizar-capa-close-btn:hover {
    color: #333;
}

.actualizar-capa-modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.warning-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.actualizar-capa-modal-header h2 {
    color: var(--gris_fora);
    font-size: 22px;
    margin: 0;
    font-weight: 600;
}

.actualizar-capa-modal-body {
    margin-bottom: 0;
}

.warning-message {
    background-color: #fff8e1;
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.warning-message p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 14px;
}

.warning-message p:last-child {
    margin-bottom: 0;
}

.warning-primary {
    color: #555;
    background-color: #e3f2fd;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #2196F3;
}

.warning-critical {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #f44336;
    font-weight: 500;
}

.warning-question {
    color: var(--gris_fora);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.confirmation-code-container {
    margin-bottom: 25px;
}

.confirmation-code-container label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.confirmation-code-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.confirmation-code-input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
    background-color: #fff;
}

.confirmation-code-input::placeholder {
    color: #aaa;
    letter-spacing: normal;
}

.code-hint {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    font-style: italic;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-cancel {
    padding: 12px 24px;
    background-color: #f5f5f5;
    color: #555;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-cancel:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-confirm {
    padding: 12px 24px;
    background-color: #ff9800;
    color: white;
    border: 2px solid #ff9800;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-confirm:hover {
    background-color: #f57c00;
    border-color: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.btn-confirm:disabled,
.btn-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-confirm:disabled:hover,
.btn-cancel:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Estilos para el grupo de radio buttons mejorado */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.form-radio-group {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.form-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-radio-group label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px;
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.form-radio-group label:hover {
    background-color: #f0f0f0;
    border-color: #4CAF50;
    transform: translateX(4px);
}

.form-radio:checked + label {
    background-color: #e8f5e9;
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.radio-icon {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.radio-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-text strong {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.radio-text small {
    color: #666;
    font-size: 13px;
    font-weight: normal;
}

.form-radio:checked + label .radio-text strong {
    color: #4CAF50;
}

/* Estilos para el checkbox mejorado */
.form-checkbox-enhanced {
    position: relative;
    margin-bottom: 0;
}

.form-checkbox-toggle {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.form-checkbox-enhanced label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px;
    background-color: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.form-checkbox-enhanced label:hover {
    background-color: #f0f0f0;
    border-color: #2196F3;
    transform: translateX(4px);
}

.form-checkbox-toggle:checked + label {
    background-color: #e3f2fd;
    border-color: #2196F3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
}

.checkbox-icon {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.form-checkbox-toggle:checked + label .checkbox-icon {
    transform: scale(1.1);
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.checkbox-text strong {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.checkbox-text small {
    color: #666;
    font-size: 13px;
    font-weight: normal;
}

.form-checkbox-toggle:checked + label .checkbox-text strong {
    color: #2196F3;
}

/* Animación suave para los elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-radio-group,
.form-checkbox-enhanced {
    animation: fadeInUp 0.3s ease;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .radio-icon,
    .checkbox-icon {
        font-size: 20px;
        margin-right: 10px;
    }
    
    .radio-text strong,
    .checkbox-text strong {
        font-size: 14px;
    }
    
    .radio-text small,
    .checkbox-text small {
        font-size: 12px;
    }
    
    .form-radio-group label,
    .form-checkbox-enhanced label {
        padding: 12px;
    }
}