/* Tarjeta principal */
.clxcfdi-card {
    width: 100%;
    margin: 20px 0;
    padding: 22px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Encabezado */
.clxcfdi-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.clxcfdi-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    font-size: 27px;
}

.clxcfdi-card-heading h3 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.clxcfdi-card-heading p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* Opción de omitir factura */
.clxcfdi-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
    padding: 25px;
    border: 1px solid #dce3eb;
    border-radius: 9px;
    background: #f7f9fc;
}

.clxcfdi-option-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.clxcfdi-option-text strong {
    font-size: 14px;
    color: #333;
}

.clxcfdi-option-text span {
    font-size: 12px;
    color: #777;
}

/* Ajustes de la casilla */
.clxcfdi-option .form-group {
    margin: 0;
    padding: 0;
    width: auto;
}

.clxcfdi-option .custom-checkbox {
    white-space: nowrap;
}

/* Campos fiscales */
.clxcfdi-fields .form-group {
    margin-bottom: 15px;
}

/* Garantizar que hidden oculte los campos */
.clxcfdi-card [hidden] {
    display: none !important;
}

/* Adaptación móvil */
@media (max-width: 767px) {

    .clxcfdi-card {
        padding: 16px;
    }

    .clxcfdi-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .clxcfdi-option .form-group {
        width: 100%;
    }

    .clxcfdi-option .custom-checkbox {
        white-space: normal;
    }

}