/* Alaqsa HRM Daily Frontend Tables - Basic Style */

.alaqsa-hrm-daily-table-section {
    margin: 2em 0;
    padding: 1em;
    background: #fafbfc;
    border: 1px solid #e5e7ea;
    border-radius: 6px;
}

.alaqsa-hrm-daily-table-section h3 {
    margin-top: 0;
    color: #164073;
    font-size: 1.25em;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.alaqsa-hrm-daily-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0 0 0;
    background: #fff;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.alaqsa-hrm-daily-table th,
.alaqsa-hrm-daily-table td {
    border: 1px solid #d5d8dc;
    padding: 6px 10px;
    text-align: center;
}

.alaqsa-hrm-daily-table th {
    background: #e9eef3;
    color: #23395d;
    font-weight: 600;
}

.alaqsa-hrm-daily-table tbody tr:nth-child(even) {
    background: #f6f9fb;
}

.alaqsa-hrm-daily-table tbody tr:hover {
    background: #e7f3ff;
}

.alaqsa-hrm-daily-table td {
    vertical-align: middle;
    word-break: break-word;
}

@media (max-width: 900px) {
    .alaqsa-hrm-daily-table,
    .alaqsa-hrm-daily-table thead,
    .alaqsa-hrm-daily-table tbody,
    .alaqsa-hrm-daily-table th,
    .alaqsa-hrm-daily-table td,
    .alaqsa-hrm-daily-table tr {
        display: block;
    }
    .alaqsa-hrm-daily-table th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .alaqsa-hrm-daily-table td {
        border: none;
        border-bottom: 1px solid #d5d8dc;
        position: relative;
        padding-left: 50%;
    }
    .alaqsa-hrm-daily-table td:before {
        position: absolute;
        top: 6px;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        color: #23395d;
        font-weight: bold;
        content: attr(data-label);
    }
}