/* Holiday controls and Leave Log: remove pale blue backdrop around search and filters. */
.leave-center-panel .leave-center-subtools,.leave-center-panel .schedule-subtools,
.leave-center-panel .leave-center-subtools::before,.leave-center-panel .leave-center-subtools::after{background:#fff!important;background-image:none!important;box-shadow:none!important;filter:none!important}
.leave-center-panel .leave-center-subtools .searchbox,.leave-center-panel .leave-center-subtools .searchbox:focus-within,
.leave-center-panel .leave-center-subtools select,.leave-center-panel .leave-center-subtools input,
.leave-center-panel .leave-center-subtools button:not(.primary){box-shadow:none!important;filter:none!important}
.leave-center-panel .leave-center-subtools .searchbox:focus-within{border-color:#a5d7ba!important}
.holiday-tools{gap:12px!important;align-items:center!important}
.holiday-year{display:flex;align-items:center;gap:8px;color:#365d4c;font-size:12px;font-weight:700}
.holiday-year select{min-width:105px!important;height:35px;border:1px solid #d7e8df!important;border-radius:9px;background:#fff!important;color:#285c47!important;padding:0 12px!important}
.holiday-approvals{margin:10px 20px 15px;padding:12px;border:1px solid #dcebe1;border-radius:12px;background:#f8fcf9}
.holiday-approval-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;padding:3px 4px 12px;color:#215b44;font-size:12px}
.holiday-approval-heading small{color:#678575;font-size:10px}
.holiday-approval-list{display:grid;gap:5px;max-height:285px;overflow:auto}
.holiday-approval-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 11px;border:1px solid #e2eee6;border-radius:8px;background:#fff}
.holiday-approval-item span>b,.holiday-approval-item span>small{display:block}
.holiday-approval-item span>b{font-size:11px;color:#2f4e42}.holiday-approval-item span>small{font-size:10px;color:#82978b;margin-top:4px}
.holiday-approval-actions{display:flex;gap:5px}.holiday-approval-actions .btn{font-size:10px;padding:7px 10px;min-height:29px}
.holiday-wait{font-size:10px;color:#ac803f}
@media(max-width:700px){.holiday-tools{flex-wrap:wrap}.holiday-tools .searchbox{min-width:100%!important}.holiday-year{flex:1}.holiday-approval-item{flex-wrap:wrap}}

/* compact, aligned search toolbar; no false separator underneath either tab. */
.workspace .leave-center-panel .leave-center-subtools,
.workspace .leave-center-panel .schedule-subtools {
  margin-top:0!important;margin-bottom:0!important;
  padding-top:12px!important;padding-bottom:12px!important;
  background:#fff!important;background-image:none!important;
  border-bottom:0!important;box-shadow:none!important;
  align-items:center!important;min-height:0!important;
}
.workspace .leave-center-panel>.schedule-subtools+.table-wrap,
.workspace .leave-center-panel>.leave-center-subtools+.table-wrap,
.workspace .leave-center-panel .schedule-subtools + .table-wrap {border-top:0!important;box-shadow:none!important;}
.workspace .leave-center-panel .leave-center-subtools:after,
.workspace .leave-center-panel .schedule-subtools:after {display:none!important;}
@media(max-width:700px){
 .workspace .leave-center-panel .leave-center-subtools,
 .workspace .leave-center-panel .schedule-subtools{padding-top:10px!important;padding-bottom:10px!important;}
}

/* quieter, compact HRD approval panel. */
.holiday-approvals{background:#fff!important;border-color:#dce9e1!important;margin:8px 20px 14px!important;padding:12px 14px!important;box-shadow:none!important}
.holiday-approval-heading{padding-bottom:10px!important}
.holiday-approval-heading b{font-size:13px!important}
.holiday-approval-list{max-height:230px!important;gap:6px!important;padding-right:4px}
.holiday-approval-item{border-radius:10px!important;padding:9px 12px!important;background:#fafdfa!important}
.holiday-approval-item span>b{font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere}
.holiday-table .schedule-name-cell b{white-space:normal!important;overflow-wrap:anywhere;word-break:normal!important}
.holiday-table th:nth-child(1){width:44%}
.holiday-table th:nth-child(2){width:22%}
.holiday-table th:nth-child(3){width:14%}
.holiday-table th:nth-child(4){width:20%}
@media(max-width:700px){.holiday-approvals{margin:8px 10px!important;padding:10px!important}.holiday-approval-list{max-height:245px!important}}
