/* Time and Attendance Specific Styles */

/* Digital Clock Styles */
.clock-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    align-items: flex-start;
}

.digital-clock {
    background: rgba(0, 0, 0, 0.8);
    color: #00ff41;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.digital-clock .time {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.digital-clock .date {
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
}

.employee-login {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 300px;
}

.employee-login h3 {
    margin-top: 0;
    color: #2c3e50;
    text-align: center;
}

.employee-login .form-group {
    margin-bottom: 20px;
}

.employee-login label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.employee-login input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

/* Clock Actions Styles */
.clock-actions {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.clock-actions h3 {
    margin-top: 0;
    color: #2c3e50;
    text-align: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.status-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #dc3545;
    margin-right: 10px;
}

.status-dot.clocked-in {
    background-color: #28a745;
}

.status-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn.large {
    padding: 15px 25px;
    font-size: 1.1rem;
}

.btn.tertiary {
    background-color: #ffc107;
    color: #212529;
}

.btn.tertiary:hover {
    background-color: #e0a800;
}

.today-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.today-summary h4 {
    margin-top: 0;
    color: #007bff;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-item .label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.summary-item .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Dashboard Styles */
.dashboard-section {
    background-color: #e9f4ff !important;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dashboard-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.schedule-preview,
.pto-summary,
.activity-log,
.payroll-info {
    min-height: 120px;
    margin-bottom: 20px;
}

.shift-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.shift-item:last-child {
    border-bottom: none;
}

.shift-date {
    font-weight: 600;
    color: #007bff;
}

.shift-time {
    font-size: 0.9rem;
    margin: 5px 0;
}

.shift-role {
    font-size: 0.85rem;
    color: #6c757d;
}

.pto-item,
.pay-period,
.pay-date,
.gross-pay {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pto-item .label,
.pay-period .label,
.pay-date .label,
.gross-pay .label {
    font-weight: 600;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-time {
    font-size: 0.85rem;
    color: #6c757d;
}

.activity-action {
    font-weight: 600;
}

.dashboard-notifications {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.dashboard-notifications h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.notifications-list {
    display: grid;
    gap: 15px;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 6px;
    background: #f8f9fa;
}

.notification-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.notification-icon.info {
    background: #d1ecf1;
    color: #0c5460;
}

.notification-content h4 {
    margin-top: 0;
    color: #2c3e50;
}

.notification-content p {
    margin: 5px 0;
    color: #6c757d;
}

.notification-content a {
    color: #007bff;
    text-decoration: underline;
}

/* Schedule Section */
.schedule-section, .schedule-manager-section {
    background-color: #fff;
}

.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px 15px;
    background: #e9ecef;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.view-btn.active {
    background: #007bff;
    color: white;
}

.date-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-navigation button {
    padding: 8px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.date-navigation button:hover {
    background: #0056b3;
}

.schedule-actions {
    display: flex;
    gap: 10px;
}

.schedule-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.schedule-table th,
.schedule-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.schedule-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.schedule-table tbody tr:hover {
    background-color: #e9f4ff;
}

.shift-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shift-time {
    font-weight: 600;
}

.shift-role {
    font-size: 0.85rem;
    color: #6c757d;
}

.btn.small {
    padding: 5px 10px;
    font-size: 0.85rem;
}

/* Employee View Styles */
.employee-view {
    margin-top: 30px;
}

.employee-schedule-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.employee-schedule-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.employee-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.schedule-day {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.day-header {
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
    font-size: 0.9rem;
}

.shift-item {
    font-size: 0.85rem;
}

.shift-item.off {
    color: #6c757d;
    font-style: italic;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.payslip-content {
    max-width: 800px;
    padding: 0;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Time Off Dashboard Styles */
.timeoff-dashboard-section {
    background-color: #fff;
}

.timeoff-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.pto-balance-card, .pto-summary-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
}

.pto-balance-card h3, .pto-summary-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.balance-grid, .summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.balance-item, .summary-item {
    display: flex;
    flex-direction: column;
}

.balance-item .label, .summary-item .label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.balance-item .value, .summary-item .value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.timeoff-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
}

.timeoff-request-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.timeoff-request-section h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.timeoff-form .form-group {
    margin-bottom: 20px;
}

.timeoff-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.timeoff-form input,
.timeoff-form select,
.timeoff-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.timeoff-requests-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeoff-requests-section h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.requests-table-container {
    overflow-x: auto;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.requests-table th,
.requests-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.requests-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.requests-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.requests-table tbody tr:hover {
    background-color: #e9f4ff;
}

.status.approved {
    color: #28a745;
    font-weight: 600;
}

.status.pending {
    color: #ffc107;
    font-weight: 600;
}

.status.cancelled {
    color: #6c757d;
    font-weight: 600;
}

.request-details .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.request-details .detail-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.request-details .detail-row .label {
    font-weight: 600;
}

/* Compliance Dashboard Styles */
.compliance-dashboard-section {
    background-color: #fff;
}

.compliance-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.compliance-score {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.compliance-score h3 {
    color: #007bff;
    margin-top: 0;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e9f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid #007bff;
}

.score-circle .score {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

.score-description {
    font-style: italic;
    color: #6c757d;
}

.compliance-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 2;
    min-width: 300px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.stat-card h4 {
    color: #007bff;
    margin-top: 0;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

.stat-value.violation {
    color: #dc3545;
}

.stat-value.warning {
    color: #ffc107;
}

.stat-value.compliant {
    color: #28a745;
}

.compliance-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.compliance-category-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.compliance-category-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.compliance-progress {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-info .label {
    font-weight: 600;
}

.progress-info .percentage {
    font-weight: bold;
    color: #007bff;
}

.progress-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #28a745;
    border-radius: 6px;
}

.compliance-details .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.compliance-details .detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.compliance-details .detail-item .label {
    font-weight: 600;
}

.compliance-details .detail-item .value.warning {
    color: #ffc107;
    font-weight: 600;
}

.violations-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.violations-section h3 {
    color: #007bff;
    margin-top: 0;
}

.violations-table-container {
    overflow-x: auto;
}

.violations-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.violations-table th,
.violations-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.violations-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.violations-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.violations-table tbody tr:hover {
    background-color: #e9f4ff;
}

/* Payroll Dashboard Styles */
.payroll-dashboard-section {
    background-color: #fff;
}

.payroll-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.payroll-period-card, .payroll-summary-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
}

.payroll-period-card h3, .payroll-summary-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.period-info .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.period-info .info-item .label {
    font-weight: 600;
}

.payroll-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.control-group select {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.processing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.step-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
}

.step-number {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    margin-top: 0;
    color: #007bff;
}

.step-content p {
    color: #6c757d;
    font-size: 0.9rem;
}

.step-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.step-status.completed {
    background: #d4edda;
    color: #155724;
}

.step-status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.step-status.pending {
    background: #d1ecf1;
    color: #0c5460;
}

.payroll-employees-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.payroll-employees-section h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.employees-table-container {
    overflow-x: auto;
}

.employees-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.employees-table th,
.employees-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.employees-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.employees-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.employees-table tbody tr:hover {
    background-color: #e9f4ff;
}

/* Pay Slip Styles */
.payslip-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 2px solid #007bff;
}

.company-info h2 {
    color: #007bff;
    margin-top: 0;
}

.payslip-title h3 {
    color: #007bff;
    margin-top: 0;
}

.employee-info {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.info-section {
    flex: 1;
}

.info-section h4 {
    color: #007bff;
    margin-top: 0;
}

.earnings-deductions {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.earnings, .deductions {
    flex: 1;
}

.earnings h4, .deductions h4 {
    color: #007bff;
    margin-top: 0;
}

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

.payslip-table td {
    padding: 5px 0;
}

.payslip-table .amount {
    text-align: right;
}

.payslip-table .total-row td {
    border-top: 1px solid #dee2e6;
    font-weight: bold;
}

.net-pay {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.net-pay h4 {
    color: #007bff;
    margin-top: 0;
}

.net-pay-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}

.payslip-footer {
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Reports Section */
.reports-section {
    background-color: #e9f4ff !important;
}

.report-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.filter-group select {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 180px;
}

.report-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-height: 300px;
    margin-bottom: 30px;
}

.report-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.report-data h4 {
    color: #007bff;
    margin-top: 20px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.report-table th,
.report-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.report-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.report-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.summary-stats p {
    margin: 5px 0;
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.analytics-dashboard h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

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

.analytics-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.analytics-card h4 {
    color: #007bff;
    margin-top: 0;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}

.trend {
    font-size: 0.9rem;
    font-weight: 600;
}

.trend.positive {
    color: #28a745;
}

.trend.negative {
    color: #dc3545;
}

.chart-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.chart-container h4 {
    color: #007bff;
    margin-top: 0;
}

.chart-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    color: #6c757d;
}

/* Compliance Section */
.compliance-section {
    background-color: #fff;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.compliance-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.compliance-card h3 {
    color: #007bff;
    margin-top: 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.compliance-status .status-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.compliance-status .status-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.compliance-status .label {
    font-weight: 600;
}

.compliance-status .value {
    font-weight: 600;
}

.compliance-status .value.compliant {
    color: #28a745;
}

.compliance-status .value.warning {
    color: #ffc107;
}

.compliance-status .value.violation {
    color: #dc3545;
}

/* Payroll Section */
.payroll-section {
    background-color: #e9f4ff !important;
}

.payroll-controls {
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pay-period-selector {
    display: flex;
    flex-direction: column;
}

.pay-period-selector label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.pay-period-selector select {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
}

.payroll-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payroll-summary {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.payroll-summary h3 {
    margin-top: 0;
    color: #007bff;
}

.payroll-table-container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.payroll-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.payroll-table th,
.payroll-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.payroll-table th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.payroll-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.payroll-table tbody tr:hover {
    background-color: #e9f4ff;
}

.status.processed {
    color: #28a745;
    font-weight: 600;
}

.status.pending {
    color: #ffc107;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clock-container {
        flex-direction: column;
        align-items: center;
    }
    
    .digital-clock {
        min-width: unset;
        width: 100%;
    }
    
    .employee-login {
        min-width: unset;
        width: 100%;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn.large {
        width: 100%;
    }
    
    .schedule-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-options,
    .date-navigation,
    .schedule-actions {
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .compliance-overview,
    .timeoff-overview,
    .payroll-overview {
        flex-direction: column;
    }
    
    .compliance-stats {
        flex-direction: column;
    }
    
    .compliance-controls,
    .timeoff-controls,
    .payroll-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .timeoff-controls,
    .payroll-controls .action-buttons {
        align-items: center;
    }
    
    .report-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        min-width: unset;
    }
    
    .payroll-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payroll-actions {
        justify-content: center;
    }
    
    .employee-schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .employee-info,
    .earnings-deductions {
        flex-direction: column;
    }
    
    .payslip-header {
        flex-direction: column;
        text-align: center;
    }
    
    .notification-item {
        flex-direction: column;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}