.Salary {
    padding-bottom: 72px;
}

.daily-toolbar {
    margin-bottom: 14px;
    padding: 12px 16px;
    border: 1px solid #dce8dc;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7fbf6 0%, #ffffff 62%);
    box-shadow: 0 8px 24px rgba(63, 98, 68, 0.08);
}

.daily-toolbar-label {
    padding-top: 5px;
}

.daily-toolbar-label .control-label {
    margin: 0;
    color: #2f4833;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.daily-toolbar-search {
    padding-left: 18px;
}

.daily-toolbar-date .form_date {
    width: 100%;
}

.daily-toolbar-date .form-control,
.daily-toolbar-date input.form-control {
    height: 34px;
    border: 1px solid #cfdccf;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 13px;
}

.daily-toolbar-date .input-group-addon {
    width: 38px;
    padding: 0;
    border: 1px solid #cfdccf;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #f5faf4 !important;
    vertical-align: top;
}

.daily-toolbar-date .input-group-addon .btn {
    width: 100%;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: transparent;
    box-shadow: none;
}

.daily-toolbar-date .input-group-addon .glyphicon {
    top: 0;
    line-height: 32px;
    color: #46614c !important;
}

.daily-search-group {
    width: 100%;
}

.daily-search-input {
    height: 34px;
    border: 1px solid #cfdccf;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    background: #fff;
    box-shadow: none;
    font-size: 13px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.daily-search-input:focus {
    border-color: #8cb68e;
    box-shadow: 0 0 0 3px rgba(126, 177, 128, 0.12);
}

.daily-search-btn {
    height: 34px;
    min-width: 66px;
    border: 1px solid #2f8f57;
    border-radius: 0 8px 8px 0;
    background: #2f8f57;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 0 16px;
}

.daily-search-btn:hover,
.daily-search-btn:focus {
    background: #267849;
    border-color: #267849;
    color: #fff;
}

.daily-action-block {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    padding-left: 18px;
}

.daily-action-btn {
    height: 34px;
    min-width: 72px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
}

.daily-action-refresh {
    border-color: #d2ddd2;
    background: #fff;
    color: #36533d;
}

.daily-action-refresh:hover,
.daily-action-refresh:focus {
    border-color: #9db99f;
    background: #f5faf4;
    color: #294731;
}

.daily-action-export {
    border-color: #d6a451;
    background: linear-gradient(135deg, #f1c36a 0%, #e6a948 100%);
    color: #fff;
    box-shadow: 0 8px 16px rgba(214, 164, 81, 0.24);
}

.daily-action-export:hover,
.daily-action-export:focus {
    border-color: #ca9237;
    background: linear-gradient(135deg, #eab95d 0%, #d69737 100%);
    color: #fff;
}

.daily-table-wrap {
    width: 100%;
    height: 75vh;
    overflow: auto;
    border: 1px solid #dfe6dd;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fcf7 0%, #ffffff 12%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.daily-table {
    margin-bottom: 0;
    min-width: max-content;
    border-collapse: separate;
    border-spacing: 0;
}

.daily-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 10px;
    background: #eef6ee;
    color: #2c3e2f;
    border-bottom: 2px solid #d4e6d1;
    border-right: 1px solid #e3ece1;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
}

.daily-table thead th:last-child {
    border-right: 0;
}

.daily-header-text {
    display: inline-block;
    min-width: 100%;
}

.daily-table tbody td {
    padding: 10px 12px;
    border-top: 0;
    border-bottom: 1px solid #edf1ec;
    color: #324136;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
}

.daily-table tbody tr:nth-child(even) td {
    background: #fbfdfb;
}

.daily-table tbody tr:hover td {
    background: #f2f8f1;
}

.daily-table .col-meta {
    background: #f5faf4;
}

.daily-table .col-time {
    min-width: 102px;
}

.daily-table .col-status {
    min-width: 92px;
}

.daily-table .col-duration,
.daily-table .col-leave {
    min-width: 96px;
}

.daily-table td.is-alert {
    color: #d14343 !important;
    font-weight: 700;
}

.daily-table td.is-trip {
    color: #1f8f46 !important;
    font-weight: 600;
}

.daily-table td.is-leave {
    color: #1f6fd6 !important;
    font-weight: 600;
}

.daily-table td.is-number {
    font-variant-numeric: tabular-nums;
}

.page {
    height: 38px;
    display: flexbox;
    display: flex;
    align-items: center;
    border: 1px solid #f0f0f0;
    position: fixed;
    bottom: 45px;
    background-color: white;
    z-index: 3;
}

.page .displaycount {
    display: block;
    width: auto;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    height: 20px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.page .separator {
    display: inline-block;
    zoom: 1;
    border: 0;
    border-left: solid 1px #ddd;
    margin-top: 0;
    height: 36px;
    vertical-align: middle;
    margin-left: 8px;
    margin-right: 8px;
}

.page .currentpage {
    border: 0 solid #ccc;
    width: 40px;
    text-align: center;
    background-color: transparent;
}

.page .totalpages {
    border: 0 solid #ccc;
    width: 40px;
    text-align: center;
    background-color: transparent;
}

.page .datainfo {
    display: table-cell;
}

.btn:disabled {
    border-color: #ffffff00;
}

.btndis {
    background-color: #cfd3d9 !important;
}

@media (max-width: 1200px) {
    .daily-toolbar-search,
    .daily-action-block {
        padding-left: 15px;
    }

    .daily-action-block {
        justify-content: flex-start;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .daily-toolbar {
        padding: 14px;
    }

    .daily-toolbar-label {
        text-align: left;
        padding-top: 0;
        margin-bottom: 8px;
    }

    .daily-toolbar-date {
        margin-bottom: 10px;
    }

    .daily-toolbar-search {
        margin-top: 10px;
        padding-left: 0;
    }

    .daily-action-block {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-left: 0;
    }
}
