
.sfft-dashboard {
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Modal básico */
#modalNovaFicha, #modalNovoInsumo {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.sfft-modal-ficha {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.sfft-modal-ficha .modal-content {
    font-family: Arial;
    font-size: 14px;
}

.sfft-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.sfft-table th, .sfft-table td {
    border: 1px solid #ddd;
    padding: 8px;
}
.sfft-table th {
    background-color: #f4f4f4;
    text-align: left;
}

/* --- Modal Styles --- */
.sfft-modal{
    position:fixed; top:10%; left:50%; transform:translateX(-50%);
    background:#fff; border-radius:8px; padding:24px; width:90%; max-width:480px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15); z-index:10000;
}
.sfft-modal-title{font-size:21px; margin-bottom:16px; font-weight:600;}
.sfft-label{display:block; font-weight:600; margin-top:12px;}
.sfft-hint{font-size:13px; color:#666; margin:4px 0 12px;}
.sfft-modal-actions{text-align:right; margin-top:20px;}
.sfft-modal-actions .sfft-btn-save,
.sfft-modal-actions .sfft-btn-cancel{
    padding:8px 16px; border:none; border-radius:4px; cursor:pointer;
}
.sfft-btn-save{background:#41537e; color:#fff;}
.sfft-btn-cancel{background:#ccc; color:#333;}

/* --- Custos Delivery Form Styles --- */
.sfft-section-title{font-size:22px;margin-bottom:16px;font-weight:600;}
.sfft-form .sfft-field{margin-bottom:20px;}
.sfft-form .sfft-label{display:block;font-weight:600;margin-bottom:6px;}
.sfft-form .sfft-hint{font-size:13px;color:#666;margin:4px 0 0;}
.sfft-form input[type="number"]{width:100%;padding:8px;border:1px solid #ccc;border-radius:4px;}
.sfft-form-actions{text-align:right;margin-top:24px;}
.sfft-btn-save{padding:10px 24px;background:#41537e;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:600;}

.sfft-intro{
    font-size:14px;
    color:#444;
    margin-bottom:20px;
}

.sfft-actions-row{margin-bottom:16px;}
.sfft-btn-primary,.sfft-btn-secondary{padding:8px 12px;border:none;border-radius:4px;cursor:pointer;}
.sfft-btn-primary{background:#41537e;color:#fff;}
.sfft-btn-secondary{background:#ddd;color:#333;margin-left:8px;}

.insumo-row{display:flex;gap:8px;margin-bottom:8px;}
.insumo-row select,.insumo-row input{flex:1;}

/* Modal View Ficha */
#modalViewFicha{position:fixed;top:10%;left:50%;transform:translateX(-50%);background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 12px rgba(0,0,0,0.2);max-width:600px;z-index:10000;}
#modalViewFicha p{margin:6px 0;}
#modalViewFicha .sfft-modal-actions{text-align:right;margin-top:12px;}
#modalViewFicha button{margin-left:8px;padding:6px 10px;border:none;border-radius:4px;cursor:pointer;}
