/**
 * Admin CSS for Ultimate Business Dashboard
 */

/* General container styles */
.ultibuda-settings-container {
    max-width: 1200px;
    margin: 20px 0;
}

.ultibuda-year-select {
    margin-bottom: 20px;
}

.ultibuda-year-select label {
    font-weight: bold;
    margin-right: 10px;
}

/* Monthly inputs grid */
.ultibuda-monthly-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ultibuda-month-block {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ultibuda-month-block h3 {
    margin: 0 0 15px;
    color: #1e293b;
    font-size: 18px;
}

.ultibuda-field {
    margin-bottom: 15px;
}

.ultibuda-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.ultibuda-field label small {
    font-weight: normal;
    color: #6b7280;
}

.ultibuda-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-sizing: border-box;
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
    appearance: none;
}

/* Dashboard cards styles */
.dashboard-table-container {
    width: 80%;
    max-width: 1200px;
    margin: 30px auto;
}

.dashboard-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.card-content.active {
    display: block;
}

/* Export CSV button styles */
.export-csv {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    background-color: #f59e0b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.export-csv:hover {
    background-color: #d97706;
    transform: translateY(-1px);
}

.export-csv:active {
    transform: translateY(0);
}

/* Group actions in flex */
.card-actions {
    display: flex;
    gap: 10px;
}

/* Style pour les totaux */
.detail-row.total {
    background-color: #e5e7eb;
    font-weight: 700;
    color: #111827;
    padding: 8px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

/* Force le retour à la ligne dans les cellules de totaux avec texte long */
.dashboard-card .monthly-details-table td:first-child,
.dashboard-card .annual-details-table td:first-child {
    white-space: normal !important;     /* Autorise le retour à la ligne */
    line-height: 1.4;                   /* Un peu d’espace entre les lignes */
    padding: 12px 10px !important;     /* Un peu plus de confort */
    max-width: 300px;                   /* Optionnel : limite la largeur pour forcer le wrap plus tôt */
    word-wrap: break-word;              /* Compatibilité ancienne */
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
}

.toggle-details {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.1s;
}

.toggle-details:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.toggle-details:active {
    transform: translateY(0);
}

.card-content {
    padding-top: 15px;
}

.financial-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    background-color: #fafafa;
    border-radius: 4px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row.key-metric {
    background-color: #e0f2fe;
    font-weight: 700;
    color: #3b82f6;
    padding: 8px;
}

.detail-section {
    padding: 10px 0;
}

.section-title {
    font-weight: 700;
    font-size: 16px;
    color: #3b82f6;
    border-top: 3px solid #60a5fa;
    padding-top: 10px;
    margin-bottom: 10px;
}

.sub-item .label {
    padding-left: 20px;
    color: #4b5563;
}

.label {
    flex: 1;
    font-weight: 600;
    color: #374151;
}

.value {
    flex: 0 0 auto;
    text-align: right;
}

.financial-details .dashicons {
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
    color: #3b82f6;
    width: 18px;
    height: 18px;
}

/* Invoice table styles */
.invoice-table-container {
    overflow-x: auto;
}

.invoice-search-form {
    margin-bottom: 20px;
}

.invoice-search-form label {
    margin-right: 10px;
}

.invoice-search-form .search-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.invoice-search-form input[type="search"] {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
    padding: 6px;
    height: 34px;
    box-sizing: border-box;
}

.invoice-search-form input[type="submit"] {
    flex-shrink: 0;
    padding: 0 10px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
}

.invoice-table-container table th,
.invoice-table-container table td {
    padding: 8px;
    vertical-align: middle;
}

.invoice-table-container select[name*="category"] {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 5px;
    background: #fff;
    max-width: 200px;
}

.invoice-detail {
    font-size: 12px;
    color: #4b5563;
    margin-top: 4px;
}

.split-invoice {
    padding: 6px 12px;
    font-size: 13px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.split-invoice:hover {
    background-color: #2563eb;
}

.split-invoice span {
    display: inline-block;
}

/* Split popup styles */
.ultibuda-split-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 1000;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ultibuda-split-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ultibuda-split-modal-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

.ultibuda-split-modal h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #1e293b;
}

.ultibuda-split-modal p {
    margin: 0 0 15px;
    font-size: 14px;
    color: #374151;
}

.ultibuda-split-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ultibuda-split-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ultibuda-split-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.ultibuda-split-field select,
.ultibuda-split-field input {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.ultibuda-split-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.ultibuda-split-actions .button {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
}

.ultibuda-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ultibuda-modal-overlay.show {
    opacity: 1;
}

/* Toast notification styles */
.ultibuda-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
    text-align: center;
}

.ultibuda-toast-show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.ultibuda-toast-success {
    background: #10b981;
}

.ultibuda-toast-error {
    background: #ef4444;
}

/* Highlight invoices with spread */
.invoice-row:has([name*="spread_type"][value="spread"]:checked),
.invoice-row:has([name*="spread_type"][value="investment"]:checked) {
    background: #e0f2fe;
}

/* Highlight monetary values */
.invoice-cell:nth-child(4), /* Net Amount */
.invoice-cell:nth-child(5), /* Tax */
.invoice-cell:nth-child(6) /* Total Amount */ {
    color: #374151;
}

/* Responsive styles */
@media (max-width: 580px) {
    .dashboard-table-container {
        width: 95%;
        margin: 15px auto;
    }

    .dashboard-card {
        padding: 10px;
    }

    .card-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .card-title {
        font-size: 16px;
        flex: 1;
    }

    .toggle-details {
        width: auto;
        max-width: 150px;
        padding: 6px 10px;
        font-size: 13px;
        text-align: center;
    }

    .card-content {
        padding-top: 10px;
    }

    .financial-details {
        gap: 8px;
        padding: 6px;
    }

    .detail-row {
        flex-wrap: wrap;
        padding: 6px 0;
    }

    .label {
        flex: 1 1 60%;
        font-size: 13px;
        overflow-wrap: break-word;
    }

    .value {
        flex: 1 1 40%;
        font-size: 13px;
        overflow-wrap: break-word;
    }

    .invoice-detail {
        font-size: 12px;
        color: #4b5563;
        margin-top: 4px;
    }

    .section-title {
        font-size: 15px;
    }

    .sub-item .label {
        padding-left: 15px;
    }

    .financial-details .dashicons {
        font-size: 16px;
        margin-right: 6px;
        width: 16px;
        height: 16px;
    }

    /* Hide Net Amount, Tax, and Total Amount columns */
    .invoice-table-container table th:nth-child(4),
    .invoice-table-container table td:nth-child(4),
    .invoice-table-container table th:nth-child(5),
    .invoice-table-container table td:nth-child(5),
    .invoice-table-container table th:nth-child(6),
    .invoice-table-container table td:nth-child(6) {
        display: none;
    }

    /* Reduce column sizes */
    .invoice-table-container table th,
    .invoice-table-container table td {
        font-size: 12px;
        padding: 6px;
    }

    /* Crop Category column */
    .invoice-table-container select[name*="category"] {
        max-width: 100px;
        font-size: 12px;
        padding: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Adjust Split button to show only icon */
    .split-invoice {
        padding: 5px;
        font-size: 0;
        background: transparent;
        color: #3b82f6;
    }

    .split-invoice span {
        display: none;
    }

    /* Adjust popup for mobile */
    .ultibuda-split-modal {
        max-width: 90%;
    }

    .ultibuda-split-field select,
    .ultibuda-split-field input {
        font-size: 13px;
        padding: 6px;
    }

    /* Adjust toast for mobile */
    .ultibuda-toast {
        max-width: 80%;
        font-size: 13px;
    }

    .ultibuda-kpi-container {
        flex-direction: column; /* Empile les cartes verticalement */
    }
    .ultibuda-kpi-card {
        flex: 1 1 100%; /* Chaque carte prend toute la largeur */
        margin-bottom: 15px; /* Ajoute un espace entre les cartes */
    }

    .ultibuda-charts-container {
        flex-direction: column; /* Empile les graphiques verticalement */
    }
    .ultibuda-charts-container > div {
        flex: 1 1 100%; /* Chaque graphique prend toute la largeur */
        margin-bottom: 20px; /* Ajoute un espace entre les graphiques */
    }
    .ultibuda-charts-container canvas {
        width: 100% !important; /* Force la largeur du canvas à 100% */
        max-height: 300px; /* Limite la hauteur pour éviter des graphiques trop grands */
    }

    .toggle-details, .print-details, .export-csv {
    padding: 5px;
    font-size: 0; /* Réduit la taille globale */
    min-width: auto; /* Permet de rétrécir */
    height: 28px; /* Hauteur fixe pour uniformité */
    line-height: 28px; /* Alignement vertical */
    box-sizing: border-box; /* Inclut padding dans la hauteur */
    display: inline-flex; /* Assure un alignement cohérent */
    align-items: center; /* Centre l'icône verticalement */
    justify-content: center; /* Centre l'icône horizontalement */
    }

    .toggle-details .button-text,
    .print-details .button-text,
    .export-csv .button-text {
        display: none; /* Cache le texte */
    }

    .toggle-details .dashicons,
    .print-details .dashicons,
    .export-csv .dashicons {
        display: inline-block !important; /* Force l'affichage de l'icône */
        font-size: 18px; /* Taille de l'icône */
        margin: 0; /* Pas d'espace extra */
        line-height: 18px; /* Centre l'icône verticalement */
    }

    /* Preserve icon and hide text for toggle-details in all states on mobile */
    .toggle-details .dashicons-visibility,
    .toggle-details.active .dashicons-visibility {
        display: inline-block !important; /* Force l'icône à rester visible */
        font-size: 18px;
        margin: 0;
        line-height: 18px;
    }

    .toggle-details.active .button-text {
        display: none !important; /* Cache le texte "Hide Details" */
    }

    .export-csv[type="submit"] {
        margin: 0; /* Supprime toute marge par défaut */
        padding: 5px; /* Confirme le padding */
        height: 28px; /* Confirme la hauteur */
        line-height: 28px; /* Confirme l'alignement */
    }

}

/* Responsive styles for ultibuda-reports-table on small screens */
@media (max-width: 782px) {
    .wp-list-table.ultibuda-reports-table {
        display: block;
        overflow-x: auto;
    }
    .wp-list-table.ultibuda-reports-table thead {
        display: none; /* Cache l'en-tête sur mobile */
    }
    .wp-list-table.ultibuda-reports-table tbody,
    .wp-list-table.ultibuda-reports-table tr {
        display: block;
        margin-bottom: 20px; /* Espace entre les périodes */
        background: #f9fafb; /* Fond léger pour chaque période */
        padding: 10px; /* Espace intérieur */
        border-radius: 8px; /* Coins arrondis */
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Ombre légère */
    }
    .wp-list-table.ultibuda-reports-table td {
        display: block; /* Chaque cellule est un bloc */
        position: relative; /* Positionnement relatif pour la cellule */
        padding: 10px 10px 10px 10px; /* Espace intérieur uniforme */
        border-bottom: 1px solid #e5e7eb;
        text-align: left; /* Alignement à gauche */
        min-height: 40px; /* Hauteur minimale pour éviter la compression */
    }
    .wp-list-table.ultibuda-reports-table td::before {
        content: attr(data-label); /* Utilise data-label pour le libellé */
        display: block; /* Le libellé est un bloc à part */
        position: static; /* Annule position: absolute de WordPress */
        font-weight: bold;
        color: #374151; /* Couleur du libellé */
        margin-bottom: 8px; /* Espace entre le libellé et la valeur */
        font-size: 14px; /* Taille de police */
    }
    /* Neutralise les styles WordPress pour data-colname et positionnement */
    .wp-list-table.ultibuda-reports-table td:not(.column-primary)::before {
        content: attr(data-label) !important; /* Force l'utilisation de data-label */
        position: static !important; /* Force l'annulation de position: absolute */
        top: auto !important; /* Annule top */
        left: auto !important; /* Annule left */
        width: auto !important; /* Annule width */
    }
    /* Évite tout positionnement relatif ou absolu problématique */
    .wp-list-table.ultibuda-reports-table td:not(.column-primary) {
        position: static; /* Annule position: relative de WordPress */
        padding-top: 10px; /* Espace pour le libellé, ajusté */
    }
    .wp-list-table.ultibuda-reports-table td:last-child {
        border-bottom: none; /* Pas de bordure pour la dernière cellule */
    }
    /* Améliore la lisibilité pour la colonne Variation */
    .wp-list-table.ultibuda-reports-table td[data-label="Variation"] {
        line-height: 1.6; /* Espace entre les lignes pour Variation */
    }
    .wp-list-table.ultibuda-reports-table td[data-label="Variation"] br {
        display: none; /* Supprime les sauts de ligne */
    }
}

/* Other existing styles */
.category-table-container {
    overflow-x: auto;
}

.dext-import-pre,
.other-import-pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

.ultibuda-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ultibuda-kpi-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ultibuda-kpi-card {
    flex: 1;
    padding: 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.ultibuda-charts-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ultibuda-data-info {
    margin-top: 20px;
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Styles pour les variations, poids et section mois précédent dans le dashboard */
.variation {
    color: green;
    font-size: 0.8em;
}
.variation.negative {
    color: red;
}
.weight {
    font-size: 0.8em;
    color: #555;
}
.previous-section {
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Styles pour le nouveau tableau des détails mensuels */
.monthly-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.monthly-details-table th,
.monthly-details-table td {
    padding: 8px;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.monthly-details-table th {
    background-color: #f1f5f9;
    font-weight: bold;
}
.monthly-details-table .sub-row td {
    padding-left: 20px; /* Indentation pour les sous-catégories */
}
.monthly-details-table .total-row {
    background-color: #e5e7eb;
    font-weight: bold;
}
.monthly-details-table .key-metric-row {
    background-color: #e0f2fe;
    font-weight: bold;
    color: #3b82f6;
}
.variation-note {
    cursor: help;
    color: #888;
    font-size: 0.8em;
    margin-left: 4px;
}
.variation.not-meaningful {
    color: #888;
    font-style: italic;
}
.monthly-details-table .sub-row td {
    padding-left: 20px; /* Indentation pour les sous-catégories */
}
.monthly-details-table .section-title td {
    font-weight: 700;
    font-size: 16px;
    color: #3b82f6;
    border-top: 3px solid #60a5fa;
    padding-top: 10px;
}
/* ================================================
   ALIGNEMENT À DROITE DES MONTANTS ET POURCENTAGES
   ================================================ */

/* Tableau des détails mensuels et annuels */
.monthly-details-table td:nth-child(2),  /* colonne Montant */
.monthly-details-table td:nth-child(3) { /* colonne % du CA */
    text-align: right !important;
}

/* Tableau récapitulatif année précédente / mois précédent */
.previous-year-data table td:last-child,
.previous-month-data table td:last-child {
    text-align: right !important;
}

/* Amélioration de la lisibilité des chiffres */
.monthly-details-table td:nth-child(2),
.monthly-details-table td:nth-child(3),
.previous-year-data table td:last-child,
.previous-month-data table td:last-child {
    font-variant-numeric: tabular-nums;     /* Chiffres alignés verticalement (très utile) */
    padding-right: 12px !important;         /* Petit espace à droite pour respirer */
    min-width: 110px;                       /* Évite que les colonnes se rétrécissent trop */
}

/* Exceptions importantes : on garde le texte à gauche pour ces cas */
.monthly-details-table .section-title td,
.monthly-details-table .total-row td:first-child,
.monthly-details-table .key-metric-row td:first-child,
.monthly-details-table th {
    text-align: left !important;
}

/* Variantes de couleur et mise en évidence (optionnel mais recommandé) */
.monthly-details-table .total-row,
.monthly-details-table .key-metric-row {
    background-color: #f8fafc;
    font-weight: 600;
}

.monthly-details-table .key-metric-row {
    background-color: #e0f2fe;
}
.variation.positive {
    color: green;
}

/* Tableau récapitulatif : mois précédent ET année précédente */
.previous-month-data,
.previous-year-data {
    margin-top: 25px;
    padding: 16px;
    background: #f9f9f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.previous-month-data h4,
.previous-year-data h4 {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    padding-bottom: 8px;
    border-bottom: 2px solid #3b82f6;
}

/* Tableau interne */
.previous-month-data table,
.previous-year-data table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.previous-month-data table td,
.previous-year-data table td {
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.previous-month-data table td:first-child,
.previous-year-data table td:first-child {
    font-weight: 600;
    color: #374151;
    width: 60%;
    padding-right: 20px;
}

.previous-month-data table td:last-child,
.previous-year-data table td:last-child {
    text-align: right;
    font-weight: 500;
    color: #1e293b;
}

/* Dernière ligne sans bordure */
.previous-month-data table tr:last-child td,
.previous-year-data table tr:last-child td {
    border-bottom: none;
    padding-top: 12px;
    font-weight: 700;
    color: #111827;
}

/* Responsive : un peu plus compact sur mobile */
@media (max-width: 580px) {
    .previous-month-data,
    .previous-year-data {
        padding: 12px;
        margin-top: 20px;
    }
    
    .previous-month-data table td,
    .previous-year-data table td {
        padding: 7px 0;
        font-size: 13px;
    }
    
    .previous-month-data table td:first-child,
    .previous-year-data table td:first-child {
        width: 55%;
    }
}

/* Style pour le bouton Print */
.print-details {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 14px;
    background-color: #10b981; /* Vert émeraude pour différencier */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    margin-left: 10px;
    transition: background-color 0.2s, transform 0.1s;
}
.print-details:hover {
    background-color: #059669;
    transform: translateY(-1px);
}
.print-details:active {
    transform: translateY(0);
}

.ultibuda-toast-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

@media (max-width: 580px) {
        .monthly-details-table {
            width: 100% !important; /* Ensure full width */
            margin-top: 5px; /* Reduce margin slightly */
        }

        .monthly-details-table th,
        .monthly-details-table td {
            padding: 4px; /* Reduce from 8px to shave space */
            font-size: 12px; /* Smaller font to fit without changing layout */
        }

        .monthly-details-table .indented,
        .monthly-details-table .sub-row td {
            padding-left: 8px; /* Reduce indentation from 20px */
        }

        .previous-month-data table td {
            padding: 4px; /* Match reduction for previous data table */
            font-size: 12px;
        }
        .print-report-btn {
        padding: 8px 12px !important;
        font-size: 13px;
        }
        .print-report-btn .dashicons {
            font-size: 18px;
            margin-right: 6px;
        }
    }

/* CSS pour l'encart d'aide de la page Data */
.ultibuda-data-instructions { background: #f9f9f9; padding: 15px; border-radius: 5px; margin: 20px 0; }
.ultibuda-data-instructions h2 { font-size: 18px; margin-top: 0; }
.ultibuda-data-instructions ul { list-style-type: disc; margin-left: 20px; }
.ultibuda-data-instructions li { margin-bottom: 8px; }