html,
body {
    margin: 0;
    font-family: Segoe UI, sans-serif;
}

.timesheet-quick-widget {
    position: relative;
    overflow: hidden;
    margin: 8px;
    border: 1px solid var(--da-border-strong);
    border-radius: 4px;
}

.timesheet-quick-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 92%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--da-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--da-surface);
    border: 1px solid var(--da-border-strong);
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 5;
}

.timesheet-quick-toast.show {
    opacity: 1;
}

.timesheet-quick-toast i {
    font-size: 14px;
    flex-shrink: 0;
}

.timesheet-quick-toast.success i {
    color: #28a745;
}

.timesheet-quick-toast.error i {
    color: #a4262c;
}

.timesheet-quick-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
}

.timesheet-quick-log-group {
    display: flex;
    flex: 1;
    gap: 6px;
}

.timesheet-quick-log-group .timesheet-action-btn {
    flex: 1;
    justify-content: center;
}

.timesheet-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid var(--da-border-strong);
    background: var(--da-surface);
    border-radius: 2px;
    cursor: pointer;
}

.timesheet-action-btn:hover:not(:disabled) {
    background: var(--da-surface-alt);
}

.timesheet-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.timesheet-quick-widget.license-disabled .timesheet-action-btn {
    background: var(--da-surface-alt);
    color: var(--da-text-secondary);
    cursor: not-allowed;
}

.timesheet-quick-widget.license-disabled .timesheet-action-btn:hover {
    background: var(--da-surface-alt);
}

.workitem-pill {
    background: var(--da-surface);
    border: 1px solid var(--da-border-strong);
    padding: 1px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

#workItemId {
    color: #0078d7;
    font-weight: 600;
}
