.tc-dashboard-container {
    margin: 0 auto;
    padding: 20px;
}

.tc-page-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tc-page-header h1 {
    margin: 0;
}

.tc-dashboard-filters {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tc-filters-form {
    display: flex;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #555;
}

.filter-group select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 250px;
    font-size: 15px;
}

.tc-view-header {
    margin-bottom: 20px;
}

.tc-dashboard-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #0073aa;
}

.summary-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

.summary-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.salary-badge {
    display: inline-block;
    background: #e5e5e5;
    color: #333;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 5px;
}

.tc-dashboard-shifts-table,
.tc-dashboard-history-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tc-dashboard-shifts-table h3,
.tc-dashboard-history-table h3 {
    padding: 10px 20px;
    margin: 0;
    font-size: 1.4rem;
    color: #444;
}

.tc-table {
    width: 100%;
    border-collapse: collapse;
}

.tc-table th,
.tc-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.tc-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #444;
}

.tc-table tr:hover {
    background: #fbfbfb;
}

.tc-table .text-center {
    text-align: center;
}

.tc-table .text-right {
    text-align: right;
}

.tc-table .text-muted {
    color: #999;
}

.status-active {
    color: #28a745;
    font-weight: 600;
    background: #e6ffed;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.tc-employee-welcome {
    margin-bottom: 20px;
}

.tc-employee-welcome h3 {
    margin: 0;
    color: #444;
}

.current-week-row {
    background-color: #f0f7ff;
}

.badge-current {
    background: #0073aa;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    text-transform: uppercase;
    vertical-align: middle;
}

.salary-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background: #ddd;
    color: #555;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
}

.tc-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 4px;
}

.pagination-left,
.pagination-right {
    flex: 1;
    display: flex;
    gap: 10px;
}

.pagination-right {
    justify-content: flex-end;
}

.pagination-center {
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.button-disabled {
    opacity: 0.5;
    cursor: default;
    background: #e5e5e5 !important;
    color: #999 !important;
    border-color: #ddd !important;
    pointer-events: none;
}

.no-print {
    text-decoration: none;
}

@media print {

    .no-print,
    .tc-dashboard-filters,
    .tc-pagination {
        display: none;
    }

    .tc-dashboard-container {
        max-width: 100%;
        padding: 0;
    }

    .tc-dashboard-container {
        max-width: 100%;
        padding: 0;
    }
}

/* Fix for button contrast on hover */
.tc-dashboard-container .button:hover,
.tc-dashboard-container .button-primary:hover,
.tc-dashboard-container .button-small:hover {
    color: #fff !important;
    text-decoration: none;
}

.tc-dashboard-container .button-secondary:hover {
    color: #333 !important;
    /* Keep secondary buttons text dark if they are light */
    background: #e5e5e5;
}