/* Customer booking has its own sections, rather than the operations editor's rail. */
#frm_Cons.cons-customer-form {direction:rtl;color:#334155;box-sizing:border-box;width:100%;min-width:0;padding:6px!important;background:#f5f7fa!important}
#frm_Cons.cons-customer-form .cons-customer-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;float:none!important;margin:0 0 8px;text-align:right}
.cons-customer-heading h2 {margin:0 0 6px;font-size:20px;color:#25364a}
.cons-customer-heading p {margin:0;color:#64748b;font-size:13px}
#frm_Cons.cons-customer-form .cons-customer-layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;float:none!important;width:100%}
#frm_Cons.cons-customer-form .cons-customer-column {display:flex;flex-direction:column;gap:12px;float:none!important;min-width:0;width:auto}
#frm_Cons.cons-customer-form fieldset {box-sizing:border-box;min-width:0;width:100%;margin:0!important;padding:10px!important;border:1px solid #dde5ec!important;border-radius:10px;background:#fff}
#frm_Cons.cons-customer-form legend {float:none!important;width:100%;padding:0 0 5px!important;margin:0 0 8px!important;color:#25364a;font-size:15px;font-weight:bold}
#frm_Cons.cons-customer-form fieldset > table {display:block;width:100%;border-spacing:0}
#frm_Cons.cons-customer-form fieldset > table > tbody {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
#frm_Cons.cons-customer-form fieldset > table > tbody > tr {display:flex;flex-direction:column;gap:3px;min-width:0}
#frm_Cons.cons-customer-form fieldset > table > tbody > tr:has(.cons-customer-dimensions),
#frm_Cons.cons-customer-form fieldset > table > tbody > tr:has(#PACKAGE_LIST),
#frm_Cons.cons-customer-form fieldset > table > tbody > tr:has(#ReceiverADDRESS_LINE_1),
#frm_Cons.cons-customer-form fieldset > table > tbody > tr:has(#SenderADDRESS_LINE_1),
#frm_Cons.cons-customer-form fieldset > table > tbody > tr:has(textarea) {grid-column:1/-1}
#frm_Cons.cons-customer-form td {display:block;box-sizing:border-box;width:100%!important;padding:0!important;white-space:normal;text-align:right;font-size:12px;line-height:1.4}
#frm_Cons.cons-customer-form td:has(> img) {position:relative;padding-inline-end:22px!important}
#frm_Cons.cons-customer-form td > img {position:absolute;inset-inline-end:0;top:12px}
#frm_Cons.cons-customer-form input:not([type=hidden]):not([type=checkbox]):not([type=button]):not([type=submit]),
#frm_Cons.cons-customer-form select,
#frm_Cons.cons-customer-form textarea {box-sizing:border-box;width:100%!important;max-width:100%;min-height:32px;height:32px;padding:4px 8px;border:1px solid #c9d6e1;border-radius:7px;background:#fff;color:#263b53;font:inherit}
#frm_Cons.cons-customer-form input[readonly] {background:#f8fafc}
#frm_Cons.cons-customer-form .cons-customer-dimensions {display:grid;grid-template-columns:minmax(120px,1.5fr) repeat(3,minmax(0,1fr));gap:6px 10px;float:none!important;width:100%;min-width:0}
.cons-customer-dimensions label {display:flex;flex-direction:column;gap:3px;min-width:0;font-size:12px;margin:0;line-height:1.4}
.cons-customer-dimensions small {grid-column:1/-1}
.cons-customer-dimensions small {color:#64748b;font-size:12px}
#frm_Cons.cons-customer-form .cons-customer-dimensions input {direction:ltr;text-align:center}
#frm_Cons.cons-customer-form #ConsignmentNo {direction:ltr;text-align:center;font-size:17px!important}
#frm_Cons.cons-customer-form #PACKAGE_LIST {float:none!important;box-sizing:border-box;width:100%!important;height:34px!important;overflow:auto;padding:3px 8px!important;line-height:26px!important;border:1px solid #dde5ec!important;border-radius:7px;direction:ltr;text-align:center;font-size:17px!important}
#frm_Cons.cons-customer-form .cons-customer-actions {display:flex;justify-content:flex-end;gap:8px;float:none!important;width:100%;margin-top:0}
#frm_Cons.cons-customer-form .cons-customer-actions input {min-height:40px;padding:8px 18px;border:1px solid #147d83;border-radius:7px;background:#147d83;color:#fff;cursor:pointer}
#frm_Cons.cons-customer-form #Cancel {background:#fff;color:#475569;border-color:#cbd5e1}
.cons-customer-error {box-sizing:border-box;width:100%;margin-bottom:16px;padding:12px 16px;border:1px solid #efb4b4;border-radius:8px;background:#fff2f2;color:#922828;line-height:1.8;white-space:normal}
@media(max-width:800px) {
    #frm_Cons.cons-customer-form {padding:10px!important}
    #frm_Cons.cons-customer-form .cons-customer-layout {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px) {
    #frm_Cons.cons-customer-form fieldset > table > tbody {grid-template-columns:minmax(0,1fr)}
}

#frm_Cons.cons-customer-form .cons-customer-details,
#frm_Cons.cons-customer-form .cons-customer-receiver {flex:1}
#frm_Cons.cons-customer-form .cons-customer-tracking {flex:0 1 52%;width:auto;padding:0!important;border:0!important;background:transparent}
#frm_Cons.cons-customer-form .cons-customer-tracking legend {display:none}
#frm_Cons.cons-customer-form .cons-customer-tracking tr:has(#PACKAGE_LIST) {grid-column:auto}
#frm_Cons.cons-customer-form td:has(> #InsValue) {display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:6px}
#frm_Cons.cons-customer-form #fld_Note {height:36px;min-height:36px;resize:vertical}
@media(max-width:800px) {
    #frm_Cons.cons-customer-form .cons-customer-heading {align-items:stretch;flex-direction:column;gap:10px}
    #frm_Cons.cons-customer-form .cons-customer-tracking {flex:auto;width:100%}
}
@media(max-width:520px) {
    #frm_Cons.cons-customer-form .cons-customer-dimensions {grid-template-columns:repeat(3,minmax(0,1fr))}
    .cons-customer-dimensions .cons-customer-size {grid-column:1/-1}
}

#frm_Cons.cons-customer-form tr:has(> td > .cons-customer-dimensions) > td:first-child {display:none}
#frm_Cons.cons-customer-form #Items {width:100%!important}
