.daily-timesheet-widget {
    background: linear-gradient(135deg, #0d6efd 0%, #0861ca 100%);
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.daily-timesheet-widget .card-header {
    background-color: rgba(13, 110, 253, 0.8);
    border-bottom-color: rgba(13, 110, 253, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
}

/* Fullpage variant - no collapsing */
.daily-timesheet-fullpage .card-header {
    cursor: default !important;
}

.daily-timesheet-fullpage .card-header i.fa-chevron-down {
    display: none;
}

.daily-timesheet-widget .card-header:hover {
    background-color: rgba(13, 110, 253, 0.9);
}

.daily-timesheet-widget .card-title {
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.daily-timesheet-widget .card-title i.fa-chevron-up,
.daily-timesheet-widget .card-title i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.daily-timesheet-widget .card-body {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.status-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    min-width: 120px;
}

.timesheet-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.1rem;
    color: #0d6efd;
    font-weight: 600;
    margin-top: 0.25rem;
}

.live-counter {
    font-size: 2rem;
    font-weight: bold;
    color: #0d6efd;
    font-family: 'Monaco', 'Courier New', monospace;
    text-align: center;
    padding: 0.5rem;
    background-color: #f0f8ff;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.timesheet-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.timesheet-actions button {
    flex: 1;
    min-width: 120px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timesheet-actions .btn-start {
    background-color: #28a745;
    color: white;
}

.timesheet-actions .btn-start:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.timesheet-actions .btn-pause {
    background-color: #ffc107;
    color: #333;
}

.timesheet-actions .btn-pause:hover {
    background-color: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
}

.timesheet-actions .btn-resume {
    background-color: #17a2b8;
    color: white;
}

.timesheet-actions .btn-resume:hover {
    background-color: #138496;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
}

.timesheet-actions .btn-end {
    background-color: #dc3545;
    color: white;
}

.timesheet-actions .btn-end:hover {
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.break-type-selector {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.break-type-selector label {
    margin: 0;
    margin-bottom: 0;
    font-weight: 600;
    color: #666;
    min-width: 120px;
}

.break-type-selector select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.breaks-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.breaks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breaks-list {
    max-height: 200px;
    overflow-y: auto;
}

.break-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.timesheet-confirm-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.timesheet-confirm-modal.is-open {
    display: flex;
}

.timesheet-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.timesheet-confirm-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    width: min(360px, 92vw);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.timesheet-confirm-dialog h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #0d6efd;
}

.timesheet-confirm-dialog p {
    margin: 0 0 1rem 0;
    color: #555;
    font-size: 0.95rem;
}

.timesheet-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.timesheet-confirm-actions .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
}

.break-type {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    min-width: 70px;
    text-align: center;
}

.break-time {
    color: #666;
    flex: 1;
}

.break-duration {
    color: #0d6efd;
    font-weight: 600;
    font-family: 'Monaco', 'Courier New', monospace;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 2rem;
}
