/* ==============================
   BUTCHERY PRODUCTION LIST
============================== */

form.bpf_form {
    max-width: 1100px;
    margin: 30px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
}

form.bpf_form h2 {
    text-align: center;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

form.bpf_form>label {
    font-weight: 700 !important;
    margin-right: 6px;
    color: #000 !important;
    font-size: 18px !important;
}

form.bpf_form>select,
form.bpf_form>input[type="date"] {
    padding: 4px 6px;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #000;
    margin-right: 20px;
    margin-bottom: 15px;
    width: 140px;
}

/* Table */
.bpf_form table {
    width: 100%;
    background: #fff !important;
    border-collapse: collapse;
    font-size: 13px;
}

.bpf_form th {
    border: 1px solid #000 !important;
    background: #00B0F0 !important;
    font-weight: bold;
    text-align: center;
    padding: 6px;
}

.bpf_form td {
    border: 1px solid #000 !important;
    padding: 5px !important;
    vertical-align: middle;
    position: relative;
}

/* Product name columns */
.bpf_form td:first-child,
.bpf_form td:nth-child(4) {
    font-weight: bold;
    width: 14%;
}

.bpf_form input[type="number"],
.bpf_form input[type="text"] {
    /* position: absolute; */
    padding: 3px 4px;
    border: 0 !important;
    /* border-bottom: 1px solid #000 !important;     */
    box-sizing: border-box;
    font-size: 12px;
    width: 100%;
    height: 100%;
    /* left: 0;
	top: 0; */
}

.button-action {
    display: flex;
    gap: 20px;
}

/* Submit button */
.bpf_form button[type="submit"] {
    margin-top: 15px;
    padding: 8px 18px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.bpf_form button[type="submit"]:hover {
    background: #333;
}

/* PRINT / PDF */
@media print {
    .bpf_form button[type="submit"] {
        display: none;
    }

    .bpf_form input {
        border: none;
        padding: 0;
    }
}



/* ===== Base Form ===== */
.bpf-form {
    max-width: 1100px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000;
}

.bpf-title {
    text-align: center;
    font-size: 18px;
    margin: 15px 0;
    font-weight: bold;
}

/* ===== Header Fields ===== */
.bpf-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.bpf-header label {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
}

.bpf-header input,
.bpf-header select {
    padding: 4px;
    font-size: 12px;
    border: 0;
    outline: 0;
    border-bottom: 1px solid #000;
}

/* ===== Tables ===== */
.bpf-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.bpf-table th,
.bpf-table td {
    border: 1px solid #000;
    padding: 5px;
    vertical-align: middle;
}

.bpf-table thead th {
    background: #e5e5e5;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.bpf-table tbody td {
    background-color: #fff;
}

/* ===== Column Sizing ===== */
.bpf-table td:nth-child(2),
.bpf-table td:nth-child(3),
.bpf-table td:nth-child(5),
.bpf-table td:nth-child(6),
.bpf-table td:nth-child(8),
.bpf-table td:nth-child(9) {
    width: 40px;
    text-align: center;
}

.bpf-table td input[type="checkbox"] {
    transform: scale(1.1);
}

/* Notes column */
.bpf-table td:last-child input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 12px;
}

/* ===== Text Inputs ===== */
.bpf-table input[type="text"] {
    width: 100%;
    border: none;
    outline: none;
    font-size: 12px;
}

/* ===== Team Leader Action Points ===== */
.bpf-table tbody tr {
    height: 28px;
}

/* ===== Signatures ===== */
.bpf-sign {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.bpf-sign label {
    width: 48%;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 12px;
}

.bpf-sign input {
    border: none;
    border-bottom: 1px solid #000;
    padding: 4px;
    font-size: 12px;
}

/* ===== Submit Button ===== */
.bpf-form button {
    margin-top: 15px;
    padding: 8px 18px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.bpf-form button:hover {
    background: #333;
}

.bpf-table td.notes-cell {
    padding: 0;
    position: relative;
    width: 20%;
}

.bpf-table textarea.notes-textarea {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: none;
    resize: none;
    padding: 10px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    outline: none;
}

.bpf-table tr {
    height: 38px;
}

.bpf-table td.notes-cell textarea {
    display: block;
}


.bpf-form-third .bpf-table td, .bpf_form td, .bpf_form td  {
    position: relative;
    padding: 0;
}

.bpf-form-third .bpf-table td input, .bpf-form-third .bpf-table td textarea, .bpf_form td input[type="number"], .bpf_form td input[type="text"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    box-sizing: border-box;
    border: none;
    padding: 6px;
    font-size: 12px;

    background: transparent;
    outline: none;
}

/****************************************** Fourth Form Styles ******************************************/


.workplan-wrapper {
    font-family: DejaVu Sans, Arial, sans-serif;
    font-size: 12px;
    border: 1px solid #000;
    color: #000;
    background-color: #fff;
    padding: 15px;
}

.workplan-wrapper .flex_box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 10px;
}

.workplan-wrapper .flex_box .box {
    width: 46.5%;
}

.workplan-wrapper .wp-header {
    text-align: center;
    margin-bottom: 10px;
}

.workplan-wrapper .wp-logo {
    width: 60px;
    margin-bottom: 5px;
}

.workplan-wrapper .wp-grid {
    display: flex;
    gap: 15px;
}

.workplan-wrapper .wp-left,
.workplan-wrapper .wp-right {
    width: 50%;
}

.workplan-wrapper .row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.workplan-wrapper input,
.workplan-wrapper textarea,
.workplan-wrapper select {
    width: 100%;
    border: none;
    outline: 0 !important;
    border-bottom: 1px solid #000;
}

.workplan-wrapper textarea {
    min-height: 80px;
}

.workplan-wrapper .box {
    border: 1px solid #000;
    padding: 6px;
    margin-bottom: 8px;
}

.workplan-wrapper .task {
    border: 1px solid #000;
    padding: 6px;
    margin-bottom: 8px;
}

.workplan-wrapper .task.red {
    color: #c00000;
}

.workplan-wrapper .task.blue {
    color: #0070c0;
}

.workplan-wrapper .task.green {
    color: #008000;
}

.workplan-wrapper .task.purple {
    color: #7030a0;
}

.workplan-wrapper .wp-footer {
    margin-top: 10px;
}

.workplan-wrapper label {
    display: block;
    width: 100%;
}