/* Timesheet Styles */
.timesheet-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

.day-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s;
}

.day-section.today {
    background: #f0f9ff;
    border-color: #0d6efd;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.day-header h6 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.entries-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entry-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s;
}

.entry-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.entry-content {
    flex: 1;
}

.entry-project {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.entry-project strong {
    font-size: 1rem;
    color: #333;
}

.entry-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.entry-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

.entry-meta span {
    margin-right: 0.5rem;
}

.entry-actions {
    display: flex;
    gap: 0.5rem;
}

.no-entries {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

/* Modal Styles */
.modal.show.d-block {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.alert-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.alert-sm .bi {
    font-size: 0.875rem;
}

/* Approval Page Styles */
.approval-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Responsive */
@@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-actions button {
        width: 100%;
    }

    .entry-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 1rem;
    }
}
