
/* PEKE360_PURCHASE_VISUAL_V25_8 */

/* ========================================================
   SOLO MODULO COMPRAS
   Verde visible inspirado en la diferenciacion de FC
   ======================================================== */

body #page-purchases{
    background:#f1f7f4 !important;
}

/* CONTENEDOR PRINCIPAL */
body #page-purchases #purchaseEditorCard{
    background:#ffffff !important;
    border:1px solid #9bcbb0 !important;
    border-radius:14px !important;
    box-shadow:0 5px 18px rgba(18,90,52,.08) !important;
}

/* ========================================================
   DATOS DE LA COMPRA
   ======================================================== */

body #page-purchases #purchaseEditorCard .wizard-grid{
    gap:12px !important;
}

/* CAJA VERDE DE CADA CAMPO */
body #page-purchases #purchaseEditorCard .wizard-field{
    background:#ccefd9 !important;
    border:1px solid #70be8e !important;
    border-radius:10px !important;
    padding:10px 11px !important;
    box-sizing:border-box !important;
}

/* Alternancia sutil */
body #page-purchases #purchaseEditorCard .wizard-field:nth-child(even){
    background:#d9f4e3 !important;
}

/* LABEL */
body #page-purchases #purchaseEditorCard .wizard-field > label{
    display:block !important;
    color:#124f2d !important;
    font-weight:700 !important;
    margin-bottom:6px !important;
}

/* INPUTS */
body #page-purchases #purchaseEditorCard .wizard-field input:not([type="checkbox"]):not([type="radio"]),
body #page-purchases #purchaseEditorCard .wizard-field select,
body #page-purchases #purchaseEditorCard .wizard-field textarea{
    background:#ffffff !important;
    border:2px solid #52a873 !important;
    border-radius:8px !important;
    color:#15281e !important;
    box-shadow:0 1px 2px rgba(21,80,47,.06) !important;
}

/* HOVER */
body #page-purchases #purchaseEditorCard .wizard-field input:hover,
body #page-purchases #purchaseEditorCard .wizard-field select:hover,
body #page-purchases #purchaseEditorCard .wizard-field textarea:hover{
    border-color:#278653 !important;
}

/* FOCUS */
body #page-purchases #purchaseEditorCard .wizard-field input:focus,
body #page-purchases #purchaseEditorCard .wizard-field select:focus,
body #page-purchases #purchaseEditorCard .wizard-field textarea:focus{
    outline:none !important;
    border-color:#087ad8 !important;
    box-shadow:0 0 0 3px rgba(8,122,216,.17) !important;
}

/* ========================================================
   REGISTRO MANUAL / IA
   ======================================================== */

body #page-purchases .purchase-mode-card{
    background:#e5f6eb !important;
    border:1px solid #7abe95 !important;
    border-radius:14px !important;
}

body #page-purchases .purchase-mode-card.active{
    background:#bfe8cf !important;
    border:2px solid #31925b !important;
    box-shadow:0 0 0 3px rgba(49,146,91,.13) !important;
}

/* ========================================================
   ITEMS DE LA FACTURA
   ======================================================== */

body #page-purchases #purchaseLines .purchase-line-card{
    background:#ffffff !important;
    border:2px solid #62ae7f !important;
    border-radius:13px !important;
    overflow:hidden !important;
    margin-bottom:17px !important;
    box-shadow:0 4px 12px rgba(20,100,57,.09) !important;
}

/* CABECERA DEL ITEM */
body #page-purchases #purchaseLines .purchase-line-head{
    background:#9fddb7 !important;
    border-bottom:1px solid #65b684 !important;
    color:#104828 !important;
    padding:11px 13px !important;
}

/* CADA CAMPO DEL ITEM */
body #page-purchases #purchaseLines .purchase-line-grid label{
    background:#ccefd9 !important;
    border:1px solid #70be8e !important;
    border-radius:9px !important;
    padding:9px 10px !important;
    box-sizing:border-box !important;
    color:#124f2d !important;
    font-weight:700 !important;
}

/* Alternancia */
body #page-purchases #purchaseLines .purchase-line-grid label:nth-child(even){
    background:#d9f4e3 !important;
}

/* CONTROLES DEL ITEM */
body #page-purchases #purchaseLines .purchase-line-grid input,
body #page-purchases #purchaseLines .purchase-line-grid select{
    background:#ffffff !important;
    border:2px solid #52a873 !important;
    border-radius:8px !important;
    color:#15281e !important;
    margin-top:6px !important;
}

/* ========================================================
   PRODUCTO PARA REVENTA
   ======================================================== */

body #page-purchases #purchaseLines .purchase-link-box{
    background:#d5f2e0 !important;
    border:1px solid #6eb88b !important;
    border-radius:10px !important;
    padding:12px !important;
}

/* Tipo de compras e importacion */
body #page-purchases #purchaseLines [data-p360-resale-inline] label,
body #page-purchases #purchaseLines label[data-p360-import-only]{
    background:#bfe8cf !important;
    border:1px solid #58aa78 !important;
}

/* CAMPOS CALCULADOS */
body #page-purchases #purchaseLines input[readonly],
body #page-purchases #purchaseLines input:disabled,
body #page-purchases #purchaseLines select:disabled{
    background:#e3ebe6 !important;
    border-color:#9aafa2 !important;
    color:#52625a !important;
}

/* OBSERVACIONES */
body #page-purchases #purchaseLines .purchase-notes{
    background:#dff5e7 !important;
    border:1px solid #7fc49a !important;
    border-radius:9px !important;
    padding:10px !important;
}

/* TOTALES */
body #page-purchases #purchaseLines .purchase-line-totals{
    background:#aee3c1 !important;
    border-top:1px solid #65b684 !important;
    color:#104828 !important;
    padding:10px 13px !important;
}

/* REVISION */
body #page-purchases .purchase-review-box{
    background:#ccefd9 !important;
    border:1px solid #70be8e !important;
    border-radius:10px !important;
}

/* SIN ITEMS */
body #page-purchases #purchaseEmptyLines{
    background:#dff5e7 !important;
    border:1px solid #7fc49a !important;
    color:#174d2e !important;
}

/* ========================================================
   HISTORIAL
   ======================================================== */

body #page-purchases #purchaseHistoryCard tbody tr:nth-child(odd) td{
    background:#cdf3dc !important;
}

body #page-purchases #purchaseHistoryCard tbody tr:nth-child(even) td{
    background:#ddf7e7 !important;
}

body #page-purchases #purchaseHistoryCard tbody tr:hover td{
    background:#afe7c4 !important;
}

body #page-purchases #purchaseHistoryCard td{
    border-bottom:1px solid #83cca0 !important;
}

/* PEKE360_PURCHASE_VISUAL_V25_8_END */
